]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: use ISO3166 country code and 0 rev as fallback
authorShawn Guo <shawn.guo@linaro.org>
Sun, 25 Apr 2021 11:02:00 +0000 (19:02 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 15 Jun 2021 10:36:16 +0000 (13:36 +0300)
commit5a4373ac8931ad0cdfb15519818351e65fc64281
tree6a0fc6db65490602d060b2183339a39592c251f6
parent8dcb7e3fa5a765c0b43c5477380cc05ec85393e1
brcmfmac: use ISO3166 country code and 0 rev as fallback

Instead of aborting country code setup in firmware, use ISO3166 country
code and 0 rev as fallback, when country_codes mapping table is not
configured.  This fallback saves the country_codes table setup for recent
brcmfmac chipsets/firmwares, which just use ISO3166 code and require no
revision number.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210425110200.3050-1-shawn.guo@linaro.org
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c