aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wnm_sta.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-12-16 10:32:53 (GMT)
committerJouni Malinen <j@w1.fi>2012-12-16 10:32:53 (GMT)
commite0c54a159bb7dcd2dc049fe284dff4ae48ac1c38 (patch)
tree2255d4152fbff530f43f4e2d47168c549cd4c3da /wpa_supplicant/wnm_sta.c
parentcd0ef65784232b26e516edf5a45bd810b59aaf99 (diff)
downloadhostap-e0c54a159bb7dcd2dc049fe284dff4ae48ac1c38.zip
hostap-e0c54a159bb7dcd2dc049fe284dff4ae48ac1c38.tar.gz
hostap-e0c54a159bb7dcd2dc049fe284dff4ae48ac1c38.tar.bz2
WNM: Use Dialog Token value 1 in WNM-Sleep Mode Request
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/wnm_sta.c')
-rw-r--r--wpa_supplicant/wnm_sta.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/wnm_sta.c b/wpa_supplicant/wnm_sta.c
index bcd1d4a..becae96 100644
--- a/wpa_supplicant/wnm_sta.c
+++ b/wpa_supplicant/wnm_sta.c
@@ -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 */