Fix agmode selection (#2438)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9075 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Florian Fainelli
2007-09-29 19:14:42 +00:00
parent c6967664a5
commit 6fe5be408f

View File

@@ -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;;