fix a typo in the hwmode handling in /sbin/wifi (thx, maddes)
authorFelix Fietkau <nbd@openwrt.org>
Sun, 24 Jan 2010 14:27:27 +0000 (14:27 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 24 Jan 2010 14:27:27 +0000 (14:27 +0000)
SVN-Revision: 19313

package/base-files/files/sbin/wifi

index 5b6007f0a92151ff87216a680355aa788cea9258..7c77c0b2a27c8a2d63e698c6d1cf7012f7893c35 100755 (executable)
@@ -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