summaryrefslogtreecommitdiff
path: root/package/madwifi/files
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/files
parent1e1022d063a7efa6f5e4ae6af8446b73132cefd1 (diff)
downloadmtk-20170518-87c7791bf2e0deba138c41f8ec3f404b94cb1ff1.zip
mtk-20170518-87c7791bf2e0deba138c41f8ec3f404b94cb1ff1.tar.gz
mtk-20170518-87c7791bf2e0deba138c41f8ec3f404b94cb1ff1.tar.bz2
allow connection to a prefered bssid (#4252)
SVN-Revision: 15283
Diffstat (limited to 'package/madwifi/files')
-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 0124285..8c4a754 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"