[package] allow connection to a prefered bssid (#4252)
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 19 Apr 2009 21:09:02 +0000 (21:09 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 19 Apr 2009 21:09:02 +0000 (21:09 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15283 3c298f89-4303-0410-b956-a3cf2f4a3e73

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"