brcmfmac: Restore ISO3166 and 0 rev as a fallback
authorPhil Elwell <phil@raspberrypi.com>
Thu, 31 Mar 2022 16:55:51 +0000 (17:55 +0100)
committerPhil Elwell <phil@raspberrypi.com>
Thu, 31 Mar 2022 17:08:23 +0000 (18:08 +0100)
commit6f921e98008589258f97243fb6658d09750f0a2f
treecfc94eeccab0ce2b6e75119360f5a770c2a4f9d1
parent77ef4c1a70f08632c827dbef55c8398adcbf915a
brcmfmac: Restore ISO3166 and  0 rev as a fallback

Commit b0b524f079a2 ("brcmfmac: use ISO3166 country code and 0 rev
as fallback") was a welcome addition for Raspberry Pi as it replaced
an equivalent bit of downstream code. Commit 151a7c12c4fc reverted
it because it broke BCM4359/9 devices.

This is a renamed reversion of the reversion.

See: https://github.com/raspberrypi/Raspberry-Pi-OS-64bit/issues/217

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c