mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
station: Match on BSSID and SSID on Roamed event
Since APs might operate multiple SSIDs on the same BSSID, it is not enough to match on the BSSID only.
This commit is contained in:
parent
fd035cba9a
commit
803e2d6dd2
@ -2790,8 +2790,7 @@ static void station_event_roamed(struct station *station, struct scan_bss *new)
|
|||||||
network_bss_update(station->connected_network, new);
|
network_bss_update(station->connected_network, new);
|
||||||
|
|
||||||
/* Remove new BSS if it exists in past scan results */
|
/* Remove new BSS if it exists in past scan results */
|
||||||
stale = l_queue_remove_if(station->bss_list, bss_match_bssid,
|
stale = l_queue_remove_if(station->bss_list, bss_match, new);
|
||||||
new->addr);
|
|
||||||
if (stale)
|
if (stale)
|
||||||
scan_bss_free(stale);
|
scan_bss_free(stale);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user