[package] 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 0124285..8c4a754 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"