From 50b344faf055f4aa263b3eabb137627d2444afed Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 24 Jan 2010 14:27:27 +0000 Subject: 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 --- package/base-files/files/sbin/wifi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/base-files') 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 -- cgit v1.2.3