]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
WNM: Accept GTK update version of WNM-Sleep Response status
authorJouni Malinen <jouni@qca.qualcomm.com>
Sun, 16 Dec 2012 10:33:55 +0000 (12:33 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 16 Dec 2012 10:33:55 +0000 (12:33 +0200)
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

wpa_supplicant/wnm_sta.c

index becae96ea2798681ee19a9069a7094e4f2f631b9..20f0d62e313ce78400794d3ad17bcb36481d61b2 100644 (file)
@@ -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);