From: Florian Fainelli Date: Sun, 19 Apr 2009 21:09:02 +0000 (+0000) Subject: allow connection to a prefered bssid (#4252) X-Git-Tag: reboot~23951 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=87c7791bf2e0deba138c41f8ec3f404b94cb1ff1;p=openwrt%2Fstaging%2Flynxis.git allow connection to a prefered bssid (#4252) SVN-Revision: 15283 --- diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 0124285d08..8c4a75426e 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -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"