aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-04-19 21:09:02 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-04-19 21:09:02 +0000
commit87c7791bf2e0deba138c41f8ec3f404b94cb1ff1 (patch)
tree844667c10425017eacb795e6faef15d5a2262fa7 /package/madwifi
parent1e1022d063a7efa6f5e4ae6af8446b73132cefd1 (diff)
downloadupstream-87c7791bf2e0deba138c41f8ec3f404b94cb1ff1.tar.gz
upstream-87c7791bf2e0deba138c41f8ec3f404b94cb1ff1.tar.bz2
upstream-87c7791bf2e0deba138c41f8ec3f404b94cb1ff1.zip
allow connection to a prefered bssid (#4252)
SVN-Revision: 15283
Diffstat (limited to 'package/madwifi')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh2
1 files changed, 1 insertions, 1 deletions
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"