]> 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)
commitfa505ec298bf1c3a539ff9c8ea4ae7546f11de09
tree6a0fc6db65490602d060b2183339a39592c251f6
parent162a26b4d8d43794f9c728fe5d5fe8b968ae11c9
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