17 lines
813 B
Diff
17 lines
813 B
Diff
|
diff -up wpa_supplicant-0.7.3/wpa_supplicant/wpa_supplicant.c.assoc-timeout wpa_supplicant-0.7.3/wpa_supplicant/wpa_supplicant.c
|
||
|
--- wpa_supplicant-0.7.3/wpa_supplicant/wpa_supplicant.c.assoc-timeout 2010-09-07 10:43:39.000000000 -0500
|
||
|
+++ wpa_supplicant-0.7.3/wpa_supplicant/wpa_supplicant.c 2010-12-07 18:57:45.163457000 -0600
|
||
|
@@ -1262,10 +1262,10 @@ void wpa_supplicant_associate(struct wpa
|
||
|
|
||
|
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);
|
||
|
}
|