From: Jouni Malinen Date: Sun, 16 Dec 2012 10:33:55 +0000 (+0200) Subject: WNM: Accept GTK update version of WNM-Sleep Response status X-Git-Tag: hostap_2_0~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62f6fbb480e52680cadfc9bd5c03b031b16d4805;p=thirdparty%2Fhostap.git WNM: Accept GTK update version of WNM-Sleep Response status Signed-hostap: Jouni Malinen --- diff --git a/wpa_supplicant/wnm_sta.c b/wpa_supplicant/wnm_sta.c index becae96ea..20f0d62e3 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);