Clear wps_fragment_size on FLUSH command
authorJouni Malinen <j@w1.fi>
Sat, 28 Dec 2013 14:31:37 +0000 (16:31 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 29 Dec 2013 08:00:32 +0000 (10:00 +0200)
Signed-hostap: Jouni Malinen <j@w1.fi>

wpa_supplicant/ctrl_iface.c

index 0495c5b..bb3f5e2 100644 (file)
@@ -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;