From: Jouni Malinen Date: Sat, 28 Dec 2013 14:31:37 +0000 (+0200) Subject: Clear wps_fragment_size on FLUSH command X-Git-Tag: hostap_2_1~326 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7b02375a41f064d0d353511b5beaa8b123f88100;p=thirdparty%2Fhostap.git Clear wps_fragment_size on FLUSH command Signed-hostap: Jouni Malinen --- diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c index 0495c5b94..bb3f5e262 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;