diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2013-08-24 22:28:56 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2013-08-24 22:28:56 -0700 |
| commit | 2463b98c50308b47a3bc2667e5fca512e729315b (patch) | |
| tree | a3e4c84c069f3e9a8fcd62a91ada7a1f3722d783 | |
| parent | 3443eff89ed4e2c1dde0472c06924689e43f5c24 (diff) | |
| parent | 1708598810244b14954bde21aec25257e23fe41f (diff) | |
| download | android_external_wpa_supplicant_8-2463b98c50308b47a3bc2667e5fca512e729315b.tar.gz android_external_wpa_supplicant_8-2463b98c50308b47a3bc2667e5fca512e729315b.tar.bz2 android_external_wpa_supplicant_8-2463b98c50308b47a3bc2667e5fca512e729315b.zip | |
Merge "WPS: Clear connection failure counts on WPS success"
| -rw-r--r-- | wpa_supplicant/wps_supplicant.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/wps_supplicant.c b/wpa_supplicant/wps_supplicant.c index b376fb08..f37c5beb 100644 --- a/wpa_supplicant/wps_supplicant.c +++ b/wpa_supplicant/wps_supplicant.c @@ -649,6 +649,10 @@ static void wpa_supplicant_wps_event_success(struct wpa_supplicant *wpa_s) wpa_s->wps_success = 1; wpas_notify_wps_event_success(wpa_s); + if (wpa_s->current_ssid) + wpas_clear_temp_disabled(wpa_s, wpa_s->current_ssid, 1); + wpa_s->extra_blacklist_count = 0; + /* * Enable the networks disabled during wpas_wps_reassoc after 10 * seconds. The 10 seconds timer is to allow the data connection to be |
