From: florian Date: Sat, 29 Sep 2007 19:14:42 +0000 (+0000) Subject: Fix agmode selection (#2438) X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=5088fe8d0b455e59ba6e0a9e1ff95ab7fb6f2f8f;p=openwrt.git Fix agmode selection (#2438) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9075 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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;;