summaryrefslogtreecommitdiff
path: root/package/madwifi/files/lib/wifi
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-29 19:14:42 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-29 19:14:42 +0000
commit5088fe8d0b455e59ba6e0a9e1ff95ab7fb6f2f8f (patch)
tree3f99b617244fe3680d513c1466ab891af106bdc2 /package/madwifi/files/lib/wifi
parent3a97a572ce9c12204f96803055032a8bce2271be (diff)
Fix agmode selection (#2438)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9075 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files/lib/wifi')
-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;;