summaryrefslogtreecommitdiffstats
path: root/package/madwifi
diff options
context:
space:
mode:
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 919861553..356088060 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;;