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
This commit is contained in:
Felix Fietkau
2010-01-24 14:27:27 +00:00
parent 26eac1106c
commit 50b344faf0

View File

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