commit 4c6cc29f4a3c73c6281cb263beec37454648c8c9
parent 803e2d6dd27ad0475cb1ef4bd2e8b537cafc91fd
Author: Denis Kenzior <denkenz@gmail.com>
Date: Tue, 27 Sep 2022 11:04:54 -0500
station: Match on BSSID and SSID when roaming
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/station.c b/src/station.c
@@ -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);