OSDN Git Service

mac80211: accept deauth frames in IBSS mode
authorJohannes Berg <johannes.berg@intel.com>
Fri, 4 Oct 2019 12:37:05 +0000 (15:37 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 7 Oct 2019 19:59:48 +0000 (21:59 +0200)
commit95697f9907bfe3eab0ef20265a766b22e27dde64
treefd14f728cedd65d56f29df6d1366617b37701f3d
parent461c4c2b4c0731d7452bad4e77c0cdbdcea1804c
mac80211: accept deauth frames in IBSS mode

We can process deauth frames and all, but we drop them very
early in the RX path today - this could never have worked.

Fixes: 2cc59e784b54 ("mac80211: reply to AUTH with DEAUTH if sta allocation fails in IBSS")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/20191004123706.15768-2-luca@coelho.fi
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c