Do not enable bgscan when driver takes care of BSS selection
There is no need to request periodic bgscans when the driver claims to have capability for roaming within ESS. Ignoring the bgscan configuration allows the same configuration file to be used both with drivers the handle roaming and with drivers that don't.
This commit is contained in:
parent
22628eca34
commit
0096c42740
1 changed files with 2 additions and 0 deletions
|
@ -527,6 +527,8 @@ const char * wpa_supplicant_state_txt(enum wpa_states state)
|
||||||
|
|
||||||
static void wpa_supplicant_start_bgscan(struct wpa_supplicant *wpa_s)
|
static void wpa_supplicant_start_bgscan(struct wpa_supplicant *wpa_s)
|
||||||
{
|
{
|
||||||
|
if (wpas_driver_bss_selection(wpa_s))
|
||||||
|
return;
|
||||||
if (wpa_s->current_ssid == wpa_s->bgscan_ssid)
|
if (wpa_s->current_ssid == wpa_s->bgscan_ssid)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue