aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ctrl_iface.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-12-28 14:31:37 (GMT)
committerJouni Malinen <j@w1.fi>2013-12-29 08:00:32 (GMT)
commit7b02375a41f064d0d353511b5beaa8b123f88100 (patch)
treee5ca063c837a6f3bd61b93b377bd8033bdda3774 /wpa_supplicant/ctrl_iface.c
parent6f62809b4b47c217f356f15760d95c06bfac1df5 (diff)
downloadhostap-7b02375a41f064d0d353511b5beaa8b123f88100.zip
hostap-7b02375a41f064d0d353511b5beaa8b123f88100.tar.gz
hostap-7b02375a41f064d0d353511b5beaa8b123f88100.tar.bz2
Clear wps_fragment_size on FLUSH command
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/ctrl_iface.c')
-rw-r--r--wpa_supplicant/ctrl_iface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c
index 0495c5b..bb3f5e2 100644
--- a/wpa_supplicant/ctrl_iface.c
+++ b/wpa_supplicant/ctrl_iface.c
@@ -5167,6 +5167,7 @@ static void wpa_supplicant_ctrl_iface_flush(struct wpa_supplicant *wpa_s)
wps_testing_dummy_cred = 0;
#endif /* CONFIG_WPS_TESTING */
#ifdef CONFIG_WPS
+ wpa_s->wps_fragment_size = 0;
wpas_wps_cancel(wpa_s);
#endif /* CONFIG_WPS */
wpa_s->after_wps = 0;