brcmfmac: do not disconnect for disassoc frame from unconnected AP
authorAble Liao <Able.Liao@cypress.com>
Thu, 18 Jun 2020 16:07:39 +0000 (11:07 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 14 Jul 2020 09:48:00 +0000 (12:48 +0300)
commit0d9de08da52a6cbda290d125d96a0015e172186f
treeb36dcb253adf5cfeaddee5324aae1e9db99044c0
parent1b050d9711f9ce3657d00cca48d767d1ac622b6d
brcmfmac: do not disconnect for disassoc frame from unconnected AP

Ignore FW event if the event's BSSID is different form the BSSID of the
currently connected AP. Check interface state is connected or not, if
state is not connected that can ignore link down event.

Signed-off-by: Able Liao <Able.Liao@cypress.com>
Signed-off-by: Chi-hsien Lin <chi-hsien.lin@cypress.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200618160739.21457-4-chi-hsien.lin@cypress.com
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c