brcmfmac: Do not handle link downs for ibss.
authorHante Meuleman <meuleman@broadcom.com>
Tue, 5 Jan 2016 10:05:50 +0000 (11:05 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 8 Jan 2016 08:44:48 +0000 (10:44 +0200)
commit42e0ed0d454c6ad7be67f2c18828391ecfdc9a62
tree9fc55c84658f28905c386665c57466c4eef8099c
parent5ce96c0808ac8ad82f70b156ceb77ec2008c82e3
brcmfmac: Do not handle link downs for ibss.

Sometimes on module reload and reconnect to ibss a deauth from
other station can be received. This is treated as a link down but
for ibss this is wrong. It will close the interface and no data
is possible. Ignore the firmware generated link down events in
ibss mode, as ibss is always teared down by cfg80211.

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>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c