aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files
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
commit372f0377bba79cb762a2a16f3d28dda63ad58eb2 (patch)
tree05d2e573bc8fe2251d084f95fc118855b8f9e81e /package/madwifi/files
parentab705856ff44573d3c1fdc45ead48012acf0d6f6 (diff)
downloadupstream-372f0377bba79cb762a2a16f3d28dda63ad58eb2.tar.gz
upstream-372f0377bba79cb762a2a16f3d28dda63ad58eb2.tar.bz2
upstream-372f0377bba79cb762a2a16f3d28dda63ad58eb2.zip
Fix agmode selection (#2438)
SVN-Revision: 9075
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 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;;