commit 236dc14a3d2d8877e7629dc011beb96005847991
parent b560ca6173660969d90f7a5be2efa31930a83c66
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date: Sat, 11 May 2019 01:18:57 +0200
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.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/station.c b/src/station.c
@@ -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);