aboutsummaryrefslogtreecommitdiffstats
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
commit406f77618918181a39688fb5032fd0401bcc6a28 (patch)
tree1cfe708896b7b0da87c14702fa6402fa07cc495a /package/madwifi/files
parenta9bbb61fad64c90ce20fe6fbebdd4ab79c3e8f6e (diff)
downloadupstream-406f77618918181a39688fb5032fd0401bcc6a28.tar.gz
upstream-406f77618918181a39688fb5032fd0401bcc6a28.tar.bz2
upstream-406f77618918181a39688fb5032fd0401bcc6a28.zip
[package] allow connection to a prefered bssid (#4252)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15283 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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"