浏览代码

fix a typo in the hwmode handling in /sbin/wifi (thx, maddes)

SVN-Revision: 19313
Felix Fietkau 16 年之前
父节点
当前提交
62d7bb6ecd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      package/base-files/files/sbin/wifi

+ 1 - 1
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