aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/861-brcmfmac-workaround-bug-with-some-inconsistent-BSSes.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2019-02-25 22:39:04 +0100
committerRafał Miłecki <rafal@milecki.pl>2019-02-26 07:50:22 +0100
commiteab65374490a53dd88bdff00be11cdf1fcb5fe62 (patch)
treefbce35e5666e012754b9163ac9fabda3be3ae19b /package/kernel/mac80211/patches/861-brcmfmac-workaround-bug-with-some-inconsistent-BSSes.patch
parentfb333a7fec5fd58c00aa7409fbd11c6aaa9110ce (diff)
downloadupstream-eab65374490a53dd88bdff00be11cdf1fcb5fe62.tar.gz
upstream-eab65374490a53dd88bdff00be11cdf1fcb5fe62.tar.bz2
upstream-eab65374490a53dd88bdff00be11cdf1fcb5fe62.zip
mac80211: brcmfmac: backport 5.0 & 5.1 important changes/fixes
This backports the most important brcmfmac commits that: 1) Fix some bugs 2) Help debugging bugs Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit d32bbd747733de5daeb63a8f2c1307f612422f87)
Diffstat (limited to 'package/kernel/mac80211/patches/861-brcmfmac-workaround-bug-with-some-inconsistent-BSSes.patch')
-rw-r--r--package/kernel/mac80211/patches/861-brcmfmac-workaround-bug-with-some-inconsistent-BSSes.patch9
1 files changed, 4 insertions, 5 deletions
diff --git a/package/kernel/mac80211/patches/861-brcmfmac-workaround-bug-with-some-inconsistent-BSSes.patch b/package/kernel/mac80211/patches/861-brcmfmac-workaround-bug-with-some-inconsistent-BSSes.patch
index 774b333402..f9e47f89d2 100644
--- a/package/kernel/mac80211/patches/861-brcmfmac-workaround-bug-with-some-inconsistent-BSSes.patch
+++ b/package/kernel/mac80211/patches/861-brcmfmac-workaround-bug-with-some-inconsistent-BSSes.patch
@@ -10,12 +10,11 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
-@@ -656,9 +656,37 @@ static struct wireless_dev *brcmf_cfg802
- u32 *flags,
- struct vif_params *params)
- {
-+ struct net_device *dev;
+@@ -662,8 +662,36 @@ static struct wireless_dev *brcmf_cfg802
+ struct brcmf_cfg80211_info *cfg = wiphy_to_cfg(wiphy);
+ struct brcmf_pub *drvr = cfg->pub;
struct wireless_dev *wdev;
++ struct net_device *dev;
int err;
+ /*