Revert "brcmfmac: Mute expected startup 'errors'"

This reverts commit 34eba9138c.

Upstream patch 26e537884a ("brcmfmac: Do not complain about country code "00")
fixes the same issue, so drop this downstream patch.

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
This commit is contained in:
Phil Elwell
2019-02-18 15:43:30 +00:00
committed by popcornmix
parent 1dd6eb5460
commit a48ede2b35

View File

@@ -6838,8 +6838,6 @@ static void brcmf_cfg80211_reg_notifier(struct wiphy *wiphy,
/* ignore non-ISO3166 country codes */
for (i = 0; i < 2; i++)
if (req->alpha2[i] < 'A' || req->alpha2[i] > 'Z') {
if (req->alpha2[0] == '0' && req->alpha2[1] == '0')
return;
brcmf_err("not an ISO3166 code (0x%02x 0x%02x)\n",
req->alpha2[0], req->alpha2[1]);
return;