OSDN Git Service

brcmfmac: Do not handle link downs for ibss.
authorHante Meuleman <meuleman@broadcom.com>
Tue, 5 Jan 2016 10:05:50 +0000 (11:05 +0100)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 11 Aug 2016 08:15:36 +0000 (16:15 +0800)
commit749d6c6a2081906de17e671711e41787414f7dce
tree73417c2bb0f27872dcbda9481835ed7c9e53b63a
parent9dc878412038c78894f5ca471df33d0344878fab
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/brcm80211/brcmfmac/cfg80211.c