Try to use fast-associate on ENABLE_NETWORK
This makes ENABLE_NETWORK behave similarily to SELECT_NETWORK by allowing a scan to be skipped if recent scan results are available. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
b06800170a
commit
dad153d16b
1 changed files with 2 additions and 1 deletions
|
@ -1803,6 +1803,7 @@ void wpa_supplicant_enable_network(struct wpa_supplicant *wpa_s,
|
||||||
wpa_supplicant_cancel_sched_scan(wpa_s);
|
wpa_supplicant_cancel_sched_scan(wpa_s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (wpa_supplicant_fast_associate(wpa_s) != 1)
|
||||||
wpa_supplicant_req_scan(wpa_s, 0, 0);
|
wpa_supplicant_req_scan(wpa_s, 0, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue