aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h
diff options
context:
space:
mode:
authorHante Meuleman <meuleman@broadcom.com>2016-01-02 09:41:40 +0100
committerKalle Valo <kvalo@codeaurora.org>2016-01-07 11:21:14 +0200
commit6a98d64a27de16f88b97a493577a5fb9d18ec000 (patch)
treea60df656f4665e9c93f0d360fb0123828399c3cf /drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h
parentbrcmfmac: obtain feature info using 'cap' firmware command (diff)
downloadlinux-dev-6a98d64a27de16f88b97a493577a5fb9d18ec000.tar.xz
linux-dev-6a98d64a27de16f88b97a493577a5fb9d18ec000.zip
brcmfmac: Fix warn trace on module unload while in ibss mode
When the driver is being unloaded a situation can occur where the wirelesss core (cfg80211) wants to remove the ibss, but the state of brcmfmac has already been set to down. When an error is returned in that situation then that will result in a stack trace on removal of the wiphy object. This is avoided by returning 0 when device is down on a leave_ibss call. Reviewed-by: Arend Van Spriel <arend@broadcom.com> Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Signed-off-by: Hante Meuleman <meuleman@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h')
0 files changed, 0 insertions, 0 deletions