diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/wireless-tools/wireless-tools/zzz-wireless.if-pre-up | 2 | ||||
-rw-r--r-- | recipes/wireless-tools/wireless-tools_29.bb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/recipes/wireless-tools/wireless-tools/zzz-wireless.if-pre-up b/recipes/wireless-tools/wireless-tools/zzz-wireless.if-pre-up index 85fcc87a99..29a26633f7 100644 --- a/recipes/wireless-tools/wireless-tools/zzz-wireless.if-pre-up +++ b/recipes/wireless-tools/wireless-tools/zzz-wireless.if-pre-up @@ -18,6 +18,8 @@ SLEEPTIME=1 ONLY_FOR="dhcp" if [ -z "$IF_WIRELESS_TYPE" ] && echo "$ONLY_FOR" | grep -q "$METHOD" ; then + $IFCONFIG $IFACE down + $SLEEP 1 $IFCONFIG $IFACE up $LOGGER Checking for WLAN association... while ( [ $RETRIES -gt 0 ] && ($IWCONFIG "$IFACE" | $GREP -q "Access Point: Not-Associated") ); do diff --git a/recipes/wireless-tools/wireless-tools_29.bb b/recipes/wireless-tools/wireless-tools_29.bb index e5c498bbfa..c83ae175e0 100644 --- a/recipes/wireless-tools/wireless-tools_29.bb +++ b/recipes/wireless-tools/wireless-tools_29.bb @@ -1,3 +1,3 @@ require wireless-tools.inc -PR = "r1" +PR = "r2" |