aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2014-12-29 02:15:01 (GMT)
committerJouni Malinen <j@w1.fi>2015-01-04 16:41:00 (GMT)
commit8c42b36902ad3f248f5bafb91ffcdf16f7ef76bf (patch)
tree094083ffd5ab34fa9fe6f591f15860335bc91ad9 /wpa_supplicant/events.c
parent677e7a95826fe9f6d93832511b7f082b899a8f3c (diff)
downloadhostap-8c42b36902ad3f248f5bafb91ffcdf16f7ef76bf.zip
hostap-8c42b36902ad3f248f5bafb91ffcdf16f7ef76bf.tar.gz
hostap-8c42b36902ad3f248f5bafb91ffcdf16f7ef76bf.tar.bz2
WMM AC: Reconfigure tspecs on reassociation to the same BSS
The specification requires the tspecs to be kept upon reassociation to the same BSS. Save the last tspecs before such reassociation, and reconfigure on the association notification. Note that the current flow is not transparent to the user (it is notified about deauth/reassoc and tspec removal/addition). Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index db60e06..983c2ce 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -2040,6 +2040,9 @@ static void wpa_supplicant_event_assoc(struct wpa_supplicant *wpa_s,
wmm_ac_notify_assoc(wpa_s, data->assoc_info.resp_ies,
data->assoc_info.resp_ies_len,
&data->assoc_info.wmm_params);
+
+ if (wpa_s->reassoc_same_bss)
+ wmm_ac_restore_tspecs(wpa_s);
}
}