mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 02:19:26 +01:00
station: Do not re-process cached entries for anqp
If the frequency of the bss is not in the list of frequencies for the current scan, then this is a cached bss. It was likely already processed for ANQP before, so skip it.
This commit is contained in:
parent
4b7138b05c
commit
e10bb3bd77
@ -699,6 +699,10 @@ void station_set_scan_results(struct station *station,
|
|||||||
if (!network)
|
if (!network)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
/* Cached BSS entry, this should have been processed already */
|
||||||
|
if (!scan_freq_set_contains(freqs, bss->frequency))
|
||||||
|
continue;
|
||||||
|
|
||||||
if (station_start_anqp(station, network, bss))
|
if (station_start_anqp(station, network, bss))
|
||||||
wait_for_anqp = true;
|
wait_for_anqp = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user