From: nbd 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-Url: http://git.ozo.com/?a=commitdiff_plain;h=653a848d6dbd7d56c924ede88d76004c7ddcf0eb;hp=b8da6b3f23f304ac27b2068e45674d931b839db3;p=openwrt-10.03%2F.git 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 --- diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi index 5b6007f0a..7c77c0b2a 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