mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
88ca372b5a
Refreshed all patches. Remove upstreamed: - 0004-boot-sq201-from-sda1.patch - 500-v4.20-ubifs-Fix-default-compression-selection-in-ubifs.patch - 0003-usb-dwc2-use-a-longer-core-rest-timeout-in-dwc2_core.patch Altered patches: - 0011-ARM-dts-Fix-up-SQ201-flash-access.patch - 400-mtd-add-rootfs-split-support.patch - 0101-pci-mediatek-backport-fix-pcie.patch Compile-tested on: cns3xxx Runtime-tested on: cns3xxx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
25 lines
981 B
Diff
25 lines
981 B
Diff
From 8d9a78040bcdbed7dc146038f031ef9cf08e258d Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.org>
|
|
Date: Fri, 17 Feb 2017 15:26:13 +0000
|
|
Subject: [PATCH 094/806] brcmfmac: Mute expected startup 'errors'
|
|
|
|
The brcmfmac WiFi driver always complains about the '00' country code.
|
|
Modify the driver to ignore '00' silently.
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
|
|
---
|
|
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
|
|
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
|
|
@@ -6854,6 +6854,8 @@ static void brcmf_cfg80211_reg_notifier(
|
|
/* 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;
|