Larry Finger <larry.fin...@lwfinger.net> writes:

> Some RTL8821AE devices sold in Great Britain have the country code of
> 0x25 encoded in their EEPROM. This value is not tested in the routine
> that establishes the regulatory info for the chip. The fix is to set
> this code to have the same capabilities as the EU countries.
>
> Signed-off-by: Larry Finger <larry.fin...@lwfinger.net>
> Cc: Stable <sta...@vger.kernel.org>

[...]

> --- a/drivers/net/wireless/realtek/rtlwifi/regd.c
> +++ b/drivers/net/wireless/realtek/rtlwifi/regd.c
> @@ -345,9 +345,9 @@ static const struct ieee80211_regdomain 
> *_rtl_regdomain_select(
>               return &rtl_regdom_no_midband;
>       case COUNTRY_CODE_IC:
>               return &rtl_regdom_11;
> -     case COUNTRY_CODE_ETSI:
>       case COUNTRY_CODE_TELEC_NETGEAR:
>               return &rtl_regdom_60_64;
> +     case COUNTRY_CODE_ETSI:
>       case COUNTRY_CODE_SPAIN:
>       case COUNTRY_CODE_FRANCE:
>       case COUNTRY_CODE_ISRAEL:

I didn't check the full source, but here you seem to be changing also
the content of ETSI regdomain. The commit log doesn't mention anything
about that so I want to double check that this is really intentionally.

-- 
Kalle Valo
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to