]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant_i.h
WNM: Ignore WNM-Sleep Mode Response if WNM-Sleep Mode has not been used
authorJouni Malinen <j@w1.fi>
Sun, 25 Oct 2015 21:02:14 +0000 (23:02 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 10 Nov 2015 16:40:54 +0000 (18:40 +0200)
commit03ed0a52393710be6bdae657d1b36efa146520e5
treeb72780ce72de665cb3eaa90cb643411d1a615167
parent8823178c965531ce500337abf58eb51dcc8d9fee
WNM: Ignore WNM-Sleep Mode Response if WNM-Sleep Mode has not been used

The AP is not expected to send out a WNM-Sleep Mode Response frame
without the STA trying to use WNM-Sleep Mode. Drop such unexpected
responses to reduce unnecessary processing of the frame.

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