From 6fe5be408f692317fa3c6e8f758481743951193f Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 29 Sep 2007 19:14:42 +0000 Subject: Fix agmode selection (#2438) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9075 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/madwifi/files/lib/wifi/madwifi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/madwifi/files') 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;; -- cgit v1.2.3