]> git.ipfire.org Git - thirdparty/hostap.git/commit
More consistent SA check for unexpected Data frames
authorJouni Malinen <j@w1.fi>
Wed, 11 Sep 2019 13:01:57 +0000 (16:01 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 17 Sep 2019 09:38:15 +0000 (12:38 +0300)
commit3394def5a82008cf056182e54e037e19129afee5
tree91af38466f521f0c91662b448a5853bbc63e7926
parentc404cd8c7d108314ec927b335c4c7b11ceb3bf9a
More consistent SA check for unexpected Data frames

Use the same rules for dropping driver notifications for Data frames
from unassociated stations as were added for Management frame reception.
This results in more consistent behavior in sending out Deauthentication
frames with Reason Code 6/7.

This case was already checking for unexpected multicast addresses, so
there was no issue for the PMF protections for unexpected disconnection.
Anyway, better avoid unnecessary Deauthentication frames consistently.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/ieee802_11.c