]> git.ipfire.org Git - thirdparty/hostap.git/commit
WNM: Ignore WNM-Sleep Mode Response without pending request
authorJouni Malinen <j@w1.fi>
Fri, 22 Sep 2017 08:25:02 +0000 (11:25 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 15 Oct 2017 23:03:47 +0000 (02:03 +0300)
commitadae51f8b94d63313a9a922b95a402ad3f182320
treecb953e55c6e864dbcc5a32612f87d4a87b55aa9d
parentff89af96e5a35c86f50330d2b86c18323318a60c
WNM: Ignore WNM-Sleep Mode Response without pending request

Commit 03ed0a52393710be6bdae657d1b36efa146520e5 ('WNM: Ignore WNM-Sleep
Mode Response if WNM-Sleep Mode has not been used') started ignoring the
response when no WNM-Sleep Mode Request had been used during the
association. This can be made tighter by clearing the used flag when
successfully processing a response. This adds an additional layer of
protection against unexpected retransmissions of the response frame.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/wnm_sta.c