From: Florian Fainelli Date: Sat, 29 Sep 2007 19:14:42 +0000 (+0000) Subject: Fix agmode selection (#2438) X-Git-Tag: kamikaze_7.09~7 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=33629d6fc8292af2010f5f8194c6ec4a706c21e9;p=openwrt%2Fsvn-archive%2Fopenwrt.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 04d8e0639f..92cc9db4eb 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -93,7 +93,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;;