summaryrefslogtreecommitdiff
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
parentab705856ff44573d3c1fdc45ead48012acf0d6f6 (diff)
downloadmtk-20170518-372f0377bba79cb762a2a16f3d28dda63ad58eb2.zip
mtk-20170518-372f0377bba79cb762a2a16f3d28dda63ad58eb2.tar.gz
mtk-20170518-372f0377bba79cb762a2a16f3d28dda63ad58eb2.tar.bz2
Fix agmode selection (#2438)
SVN-Revision: 9075
-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 9198615..3560880 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;;