Browse Source

Fix agmode selection (#2438)

SVN-Revision: 9075
Florian Fainelli 18 years ago
parent
commit
372f0377bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/madwifi/files/lib/wifi/madwifi.sh

+ 1 - 1
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;;