allow connection to a prefered bssid (#4252)
authorFlorian Fainelli <florian@openwrt.org>
Sun, 19 Apr 2009 21:09:02 +0000 (21:09 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 19 Apr 2009 21:09:02 +0000 (21:09 +0000)
SVN-Revision: 15283

package/madwifi/files/lib/wifi/madwifi.sh

index 0124285d08bb24b8a14098827e1f580ab858b808..8c4a75426e94fce4d0bf9a5429d3cadf16ba1a31 100755 (executable)
@@ -167,7 +167,7 @@ enable_atheros() {
                esac
 
                case "$mode" in
-                       adhoc|ahdemo)
+                       sta|adhoc|ahdemo)
                                config_get addr "$vif" bssid
                                [ -z "$addr" ] || { 
                                        iwconfig "$ifname" ap "$addr"