From: Felix Fietkau Date: Sun, 24 Jan 2010 14:27:27 +0000 (+0000) Subject: fix a typo in the hwmode handling in /sbin/wifi (thx, maddes) X-Git-Tag: reboot~21301 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=62d7bb6ecdf42b5217241d0859bf5869fc67ad90;p=openwrt%2Fstaging%2Fpepe2k.git fix a typo in the hwmode handling in /sbin/wifi (thx, maddes) SVN-Revision: 19313 --- 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