Browse Source

Clear wps_fragment_size on FLUSH command

Signed-hostap: Jouni Malinen <j@w1.fi>
Jouni Malinen 11 years ago
parent
commit
7b02375a41
1 changed files with 1 additions and 0 deletions
  1. 1 0
      wpa_supplicant/ctrl_iface.c

+ 1 - 0
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;