Larry Finger <Larry.Finger@xxxxxxxxxxxx> 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.Finger@xxxxxxxxxxxx> > Cc: Stable <stable@xxxxxxxxxxxxxxx> [...] > --- 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 -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html