mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-07 04:04:10 +01:00
station: Cancel the roam scan in station_free
We'd remove the roam timeout but not scancel the roam scan in station_free, instead call station_roam_state_clear which does both things.
This commit is contained in:
parent
b560ca6173
commit
236dc14a3d
@ -2719,7 +2719,7 @@ static void station_free(struct station *station)
|
||||
scan_cancel(netdev_get_ifindex(station->netdev),
|
||||
station->hidden_network_scan_id);
|
||||
|
||||
l_timeout_remove(station->roam_trigger_timeout);
|
||||
station_roam_state_clear(station);
|
||||
|
||||
l_queue_destroy(station->networks_sorted, NULL);
|
||||
l_hashmap_destroy(station->networks, network_free);
|
||||
|
Loading…
Reference in New Issue
Block a user