|
@@ -2673,7 +2673,8 @@ int wpa_supplicant_driver_init(struct wpa_supplicant *wpa_s)
|
|
|
wpa_supplicant_set_state(wpa_s, WPA_DISCONNECTED);
|
|
|
interface_count = 0;
|
|
|
}
|
|
|
- if (wpa_supplicant_delayed_sched_scan(wpa_s, interface_count,
|
|
|
+ if (!wpa_s->p2p_mgmt &&
|
|
|
+ wpa_supplicant_delayed_sched_scan(wpa_s, interface_count,
|
|
|
100000))
|
|
|
wpa_supplicant_req_scan(wpa_s, interface_count,
|
|
|
100000);
|