aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wnm_sta.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-12-16 10:33:55 (GMT)
committerJouni Malinen <j@w1.fi>2012-12-16 10:33:55 (GMT)
commit62f6fbb480e52680cadfc9bd5c03b031b16d4805 (patch)
treefef279029f16f343c24f65d38be32332dfc4eac0 /wpa_supplicant/wnm_sta.c
parente0c54a159bb7dcd2dc049fe284dff4ae48ac1c38 (diff)
downloadhostap-62f6fbb480e52680cadfc9bd5c03b031b16d4805.zip
hostap-62f6fbb480e52680cadfc9bd5c03b031b16d4805.tar.gz
hostap-62f6fbb480e52680cadfc9bd5c03b031b16d4805.tar.bz2
WNM: Accept GTK update version of WNM-Sleep Response status
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/wnm_sta.c')
-rw-r--r--wpa_supplicant/wnm_sta.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/wnm_sta.c b/wpa_supplicant/wnm_sta.c
index becae96..20f0d62 100644
--- a/wpa_supplicant/wnm_sta.c
+++ b/wpa_supplicant/wnm_sta.c
@@ -174,7 +174,8 @@ static void ieee802_11_rx_wnmsleep_resp(struct wpa_supplicant *wpa_s,
return;
}
- if (wnmsleep_ie->status == WNM_STATUS_SLEEP_ACCEPT) {
+ if (wnmsleep_ie->status == WNM_STATUS_SLEEP_ACCEPT ||
+ wnmsleep_ie->status == WNM_STATUS_SLEEP_EXIT_ACCEPT_GTK_UPDATE) {
wpa_printf(MSG_DEBUG, "Successfully recv WNM-Sleep Response "
"frame (action=%d, intval=%d)",
wnmsleep_ie->action_type, wnmsleep_ie->intval);