]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
WNM: Use Dialog Token value 1 in WNM-Sleep Mode Request
authorJouni Malinen <jouni@qca.qualcomm.com>
Sun, 16 Dec 2012 10:32:53 +0000 (12:32 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 16 Dec 2012 10:32:53 +0000 (12:32 +0200)
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

wpa_supplicant/wnm_sta.c

index bcd1d4a8607ba852ec86cd98a8cbfac336e290a2..becae96ea2798681ee19a9069a7094e4f2f631b9 100644 (file)
@@ -110,6 +110,7 @@ int ieee802_11_send_wnmsleep_req(struct wpa_supplicant *wpa_s,
                                           WLAN_FC_STYPE_ACTION);
        mgmt->u.action.category = WLAN_ACTION_WNM;
        mgmt->u.action.u.wnm_sleep_req.action = WNM_SLEEP_MODE_REQ;
+       mgmt->u.action.u.wnm_sleep_req.dialogtoken = 1;
        os_memcpy(mgmt->u.action.u.wnm_sleep_req.variable, wnmsleep_ie,
                  wnmsleep_ie_len);
        /* copy TFS IE here */