diff options
author | Hans de Goede <hdegoede@redhat.com> | 2017-03-08 14:50:17 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-03-20 19:14:17 +0200 |
commit | b9472a2e3e452c414634b3ccb1ef6c4098878686 (patch) | |
tree | c3921a647a4ae1223e333a2ec552cb0a0d6e7ebc /drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | |
parent | 26e537884a8ef451f5c60f6949b1615069931ffa (diff) | |
download | lwn-b9472a2e3e452c414634b3ccb1ef6c4098878686.tar.gz lwn-b9472a2e3e452c414634b3ccb1ef6c4098878686.zip |
brcmfmac: Handle status == BRCMF_E_STATUS_ABORT in cfg80211_escan_handler
If a scan gets aborted BRCMF_SCAN_STATUS_BUSY gets cleared in
cfg->scan_status and when we receive an abort event from the firmware
the BRCMF_SCAN_STATUS_BUSY check in the cfg80211_escan_handler will
trigger resulting in multiple errors getting logged.
Check for a status of BRCMF_E_STATUS_ABORT and in this case simply
cleanly exit the cfg80211_escan_handler. This also avoids a
BRCMF_E_STATUS_ABORT event arriving after a new scan has been started
causing the new scan to complete prematurely without any data.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c')
0 files changed, 0 insertions, 0 deletions