brcm2708: add linux 4.19 support
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.19 / 950-0355-Revert-brcmfmac-Mute-expected-startup-errors.patch
1 From a0ee8937092bd619a1b99cc5e39dc579be5fdd9a Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Mon, 18 Feb 2019 15:43:30 +0000
4 Subject: [PATCH 355/703] Revert "brcmfmac: Mute expected startup 'errors'"
5
6 This reverts commit 34eba9138ccf8d84552ab9dae37d8f348640e663.
7
8 Upstream patch 26e537884a ("brcmfmac: Do not complain about country code "00")
9 fixes the same issue, so drop this downstream patch.
10
11 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
12 ---
13 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 2 --
14 1 file changed, 2 deletions(-)
15
16 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
17 +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
18 @@ -6844,8 +6844,6 @@ static void brcmf_cfg80211_reg_notifier(
19 /* ignore non-ISO3166 country codes */
20 for (i = 0; i < 2; i++)
21 if (req->alpha2[i] < 'A' || req->alpha2[i] > 'Z') {
22 - if (req->alpha2[0] == '0' && req->alpha2[1] == '0')
23 - return;
24 brcmf_err("not an ISO3166 code (0x%02x 0x%02x)\n",
25 req->alpha2[0], req->alpha2[1]);
26 return;