diff --git a/sbin/wlan_setup b/sbin/wlan_setup index 5dfa9e6..97cf406 100755 --- a/sbin/wlan_setup +++ b/sbin/wlan_setup @@ -89,6 +89,8 @@ for AP in `iwlist $DEV scan 2>/dev/null|\ read <&3 OPTION ARG1 ARG2 done exec 3>&- + ifconfig $DEV down + ifconfig $DEV up rm /tmp/AP fi done