]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: Fix missing country code for Great Britain
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 22 Aug 2016 19:27:59 +0000 (14:27 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 3 Sep 2016 17:00:25 +0000 (20:00 +0300)
commitb80db9155c850b11023a5fda359009d70c178986
tree529f097670ec06a20125cc660b4f31af3ce8672e
parent86af808ce196c767928314eafc9c8e75622e5efd
rtlwifi: Fix missing country code for Great Britain

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. In addition,
the channels allowed for COUNTRY_CODE_ETSI were more properly suited
for China and Israel, not the EU. This problem has also been fixed.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/regd.c