3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00

station: Match on BSSID and SSID when roaming

This commit is contained in:
Denis Kenzior 2022-09-27 11:04:54 -05:00
parent 803e2d6dd2
commit 4c6cc29f4a

View File

@ -2314,9 +2314,8 @@ static void station_update_roam_bss(struct station *station,
struct scan_bss *bss)
{
struct network *network = station->connected_network;
struct scan_bss *old;
old = l_queue_remove_if(station->bss_list, bss_match_bssid, bss->addr);
struct scan_bss *old =
l_queue_remove_if(station->bss_list, bss_match, bss);
network_bss_update(network, bss);
l_queue_push_tail(station->bss_list, bss);