From: Florian Fainelli Date: Sat, 29 Sep 2007 19:14:42 +0000 (+0000) Subject: Fix agmode selection (#2438) X-Git-Tag: reboot~27965 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=372f0377bba79cb762a2a16f3d28dda63ad58eb2;p=openwrt%2Fstaging%2Fnoltari.git Fix agmode selection (#2438) SVN-Revision: 9075 --- 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;;