[package] allow connection to a prefered bssid (#4252)
[openwrt-10.03/.git] / 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"