aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin/wifi
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-24 14:27:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-24 14:27:27 +0000
commit50b344faf055f4aa263b3eabb137627d2444afed (patch)
treec60d9cbced52efa92c59b0f5f3aaf5858336f155 /package/base-files/files/sbin/wifi
parent26eac1106cdcbf35053400bacd3796b94001f1d9 (diff)
downloadupstream-50b344faf055f4aa263b3eabb137627d2444afed.tar.gz
upstream-50b344faf055f4aa263b3eabb137627d2444afed.tar.bz2
upstream-50b344faf055f4aa263b3eabb137627d2444afed.zip
fix a typo in the hwmode handling in /sbin/wifi (thx, maddes)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19313 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/sbin/wifi')
-rwxr-xr-xpackage/base-files/files/sbin/wifi2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi
index 5b6007f0a9..7c77c0b2a2 100755
--- a/package/base-files/files/sbin/wifi
+++ b/package/base-files/files/sbin/wifi
@@ -61,7 +61,7 @@ wifi_fixup_hwmode() {
11g) hwmode=g;;
11n*)
hwmode_11n="${hwmode##11n}"
- case "$hwmode" in
+ case "$hwmode_11n" in
a|g) ;;
default) hwmode_11n="$default"
esac