summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-09 20:16:01 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-09 20:16:01 +0000
commit8f53d03355013cd750d3c3bc7699b52efb2c598f (patch)
tree1e28689c8b6979fa47406eb44e31f1084866273b
parentc31e54429a547a36431f6f9c01fd1f16952b37d9 (diff)
[wifi] In wifi_fixup_hwmode the value 11bg for hwmode was not transfered to bg.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15180 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xpackage/base-files/files/sbin/wifi1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi
index ec231457e..90aeef725 100755
--- a/package/base-files/files/sbin/wifi
+++ b/package/base-files/files/sbin/wifi
@@ -42,6 +42,7 @@ wifi_fixup_hwmode() {
config_get channel "$device" channel
config_get hwmode "$device" hwmode
case "$hwmode" in
+ 11bg) hwmode=bg;;
11a) hwmode=a;;
11b) hwmode=b;;
11g) hwmode=g;;