summaryrefslogtreecommitdiff
path: root/package/base-files/files/sbin
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
commit62d7bb6ecdf42b5217241d0859bf5869fc67ad90 (patch)
tree2485590dee37b5b4fed64a372378b3cfb0c927e9 /package/base-files/files/sbin
parentf8fa94a92c9c39e5c2a07beb5c59d2ab658d3160 (diff)
downloadmtk-20170518-62d7bb6ecdf42b5217241d0859bf5869fc67ad90.zip
mtk-20170518-62d7bb6ecdf42b5217241d0859bf5869fc67ad90.tar.gz
mtk-20170518-62d7bb6ecdf42b5217241d0859bf5869fc67ad90.tar.bz2
fix a typo in the hwmode handling in /sbin/wifi (thx, maddes)
SVN-Revision: 19313
Diffstat (limited to 'package/base-files/files/sbin')
-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 5b6007f..7c77c0b 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