You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
560 B
16 lines
560 B
6 years ago
|
--- a/wpa_supplicant/wpa_supplicant.c
|
||
|
+++ b/wpa_supplicant/wpa_supplicant.c
|
||
|
@@ -2632,10 +2632,10 @@ static void wpas_start_assoc_cb(struct w
|
||
|
|
||
|
if (assoc_failed) {
|
||
|
/* give IBSS a bit more time */
|
||
|
- timeout = ssid->mode == WPAS_MODE_IBSS ? 10 : 5;
|
||
|
+ timeout = ssid->mode == WPAS_MODE_IBSS ? 20 : 10;
|
||
|
} else if (wpa_s->conf->ap_scan == 1) {
|
||
|
/* give IBSS a bit more time */
|
||
|
- timeout = ssid->mode == WPAS_MODE_IBSS ? 20 : 10;
|
||
|
+ timeout = ssid->mode == WPAS_MODE_IBSS ? 20 : 20;
|
||
|
}
|
||
|
wpa_supplicant_req_auth_timeout(wpa_s, timeout, 0);
|
||
|
}
|