-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hardware mode for 11n was always "g", mode "a" was not possible to set.

Signed-off by: Matthias Buecher <[email protected]>


This is really just a simple script fix that fixes a typo.


On 18.01.2010 19:13, Matthias Buecher / Germany wrote:
> Was looking through the wireless scripts and I think I found a bug:
> 
> File /sbin/wifi, line 64, routine wifi_fixup_hwmode():
> Shouldn't be the case checking against $hwmode_11n?
> 
>       11n*)
>               hwmode_11n="${hwmode##11n}"
>               case "$hwmode" in
>                       a|g) ;;
>                       default) hwmode_11n="$default"
>               esac
>               config_set "$device" hwmode_11n "$hwmode_11n"
> 
> Maddes
> 

-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktXhI4ACgkQUXXT+9wZdbXAOgCdFMMnge6lvPCuMMAIM7ALGddV
fLcAn0StRb+0SbGE2d9mnjlZeBti3NvD
=UYw5
-----END PGP SIGNATURE-----
Index: package/base-files/files/sbin/wifi
===================================================================
--- package/base-files/files/sbin/wifi	(revision 19250)
+++ package/base-files/files/sbin/wifi	(working copy)
@@ -61,7 +61,7 @@
 		11g) hwmode=g;;
 		11n*)
 			hwmode_11n="${hwmode##11n}"
-			case "$hwmode" in
+			case "$hwmode_11n" in
 				a|g) ;;
 				default) hwmode_11n="$default"
 			esac
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEABECAAYFAktXhI4ACgkQUXXT+9wZdbVtTwCeJafmcY0TWYWGFORA6sc42Q+/
WswAnA6NwJscDZey1HClmzmG4ktn8ZR3
=Q5jA
-----END PGP SIGNATURE-----
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to