summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-24 14:27:27 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-24 14:27:27 +0000
commit653a848d6dbd7d56c924ede88d76004c7ddcf0eb (patch)
treec60d9cbced52efa92c59b0f5f3aaf5858336f155
parentb8da6b3f23f304ac27b2068e45674d931b839db3 (diff)
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
-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