Skip to contentSkip to conversation

Patch "brcmfmac: feature check for multi-scheduled scan fails on bcm4345 devices" has been added to the 4.13-stable tree

PATCH [email protected] 1 participant 1 message Sep 10, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

brcmfmac: feature check for multi-scheduled scan fails on bcm4345 devices

to the 4.13-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
brcmfmac-feature-check-for-multi-scheduled-scan-fails-on-bcm4345-devices.patch
and it can be found in the queue-4.13 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From f957dd3c8db2781c8a334b166800788feb618625 Mon Sep 17 00:00:00 2001

From: Ian W MORRISON <[email protected]>
Date: Thu, 31 Aug 2017 08:51:03 +1000
Subject: brcmfmac: feature check for multi-scheduled scan fails on bcm4345 devices

From: Ian W MORRISON <[email protected]>

commit f957dd3c8db2781c8a334b166800788feb618625 upstream.

The firmware feature check introduced for multi-scheduled scan is also failing for bcm4345 devices resulting in a firmware crash.
The reason for this crash has not yet been root cause so this patch avoids the feature check for those device as a short-term fix.

Fixes 9fe929aaace6 ("brcmfmac: add firmware feature detection for gscan feature")
---
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c +2 -1
@@ -159,7 +159,8 @@ void brcmf_feat_attach(struct brcmf_pub
 
 	brcmf_feat_firmware_capabilities(ifp);
 	memset(&gscan_cfg, 0, sizeof(gscan_cfg));
-	if (drvr->bus_if->chip != BRCM_CC_43430_CHIP_ID)
+	if (drvr->bus_if->chip != BRCM_CC_43430_CHIP_ID &&
+	    drvr->bus_if->chip != BRCM_CC_4345_CHIP_ID)
 		brcmf_feat_iovar_data_set(ifp, BRCMF_FEAT_GSCAN,
 					  "pfn_gscan_cfg",
 					  &gscan_cfg, sizeof(gscan_cfg));

Patches currently in stable-queue which might be from [email protected] are

queue-4.13/brcmfmac-feature-check-for-multi-scheduled-scan-fails-on-bcm4345-devices.patch