aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-09-29 19:14:42 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-09-29 19:14:42 +0000
commit6fe5be408f692317fa3c6e8f758481743951193f (patch)
tree3f99b617244fe3680d513c1466ab891af106bdc2 /package/madwifi
parentc6967664a596f58d2458ad3b39e5188e9d82362a (diff)
downloadupstream-6fe5be408f692317fa3c6e8f758481743951193f.tar.gz
upstream-6fe5be408f692317fa3c6e8f758481743951193f.tar.bz2
upstream-6fe5be408f692317fa3c6e8f758481743951193f.zip
Fix agmode selection (#2438)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9075 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 9198615538..3560880606 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -94,7 +94,7 @@ enable_atheros() {
[ "$first" = 1 ] && {
# only need to change freq band and channel on the first vif
- config_get agmode "$device" mode
+ config_get agmode "$device" agmode
pureg=0
case "$agmode" in
*b) agmode=11b;;