]> 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)
commitb0b524f079a23e440dd22b04e369368dde847533
tree6a0fc6db65490602d060b2183339a39592c251f6
parent573f1af86891d4ecda9f7f1073dccec28c469387
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