]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Fix foreign address filtering for MLME frame events
authorJouni Malinen <j@w1.fi>
Mon, 13 May 2013 08:53:21 +0000 (11:53 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 13 May 2013 08:53:21 +0000 (11:53 +0300)
commit455299fb40d79bcbeaedcfbc04d00ac8330bbbdd
treef6ff1284f098c2d198b8c321ebff7e7c2cd82555
parent53aafe75e09f81c4ed384439055056579200dea8
nl80211: Fix foreign address filtering for MLME frame events

Commit 97279d8d1ad40bd7d884af8e2fc26dff0163331a started filtering MLME
frame events based on Address 1 (destination) field. This works fine for
frames sent to us, but it did filter out some corner cases where we
actually want to process an event based on a frame sent by us. The main
such case is deauthentication or disassociation triggered by something
external to wpa_supplicant in the system. Fix this by accepting events
for frames where either Address 1 or 2 (transmitter) matches the
interface address.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/drivers/driver_nl80211.c