Skip to content

Commit e9bf53a

Browse files
Arend Van SprielKalle Valo
authored andcommitted
brcmfmac: feature check for multi-scheduled scan fails on bcm4343x devices
The firmware feature check introduced for multi-scheduled scan turned out to be failing for bcm4343{0,1,8} 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. Reported-by: Stefan Wahren <[email protected]> Reported-by: Ian Molton <[email protected]> Fixes: 9fe929a ("brcmfmac: add firmware feature detection for gscan feature") Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
1 parent 9d6b9b8 commit e9bf53a

File tree

1 file changed

+4
-2
lines changed
  • drivers/net/wireless/broadcom/brcm80211/brcmfmac

1 file changed

+4
-2
lines changed

drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,10 @@ void brcmf_feat_attach(struct brcmf_pub *drvr)
159159

160160
brcmf_feat_firmware_capabilities(ifp);
161161
memset(&gscan_cfg, 0, sizeof(gscan_cfg));
162-
brcmf_feat_iovar_data_set(ifp, BRCMF_FEAT_GSCAN, "pfn_gscan_cfg",
163-
&gscan_cfg, sizeof(gscan_cfg));
162+
if (drvr->bus_if->chip != BRCM_CC_43430_CHIP_ID)
163+
brcmf_feat_iovar_data_set(ifp, BRCMF_FEAT_GSCAN,
164+
"pfn_gscan_cfg",
165+
&gscan_cfg, sizeof(gscan_cfg));
164166
brcmf_feat_iovar_int_get(ifp, BRCMF_FEAT_PNO, "pfn");
165167
if (drvr->bus_if->wowl_supported)
166168
brcmf_feat_iovar_int_get(ifp, BRCMF_FEAT_WOWL, "wowl");

0 commit comments

Comments
 (0)