commit 21e95dd2d86d784ef96290f381ee74863dff52af
parent 874b17ca5614a0c22558326efd59fa866f285dd1
Author: James Prestwood <prestwoj@gmail.com>
Date: Mon, 29 Mar 2021 12:07:40 -0700
station: clear out roam frequencies after roam
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/station.c b/src/station.c
@@ -1442,6 +1442,11 @@ static void station_roamed(struct station *station)
if (station->netconfig)
netconfig_reconfigure(station->netconfig);
+ if (station->roam_freqs) {
+ scan_freq_set_free(station->roam_freqs);
+ station->roam_freqs = NULL;
+ }
+
station_enter_state(station, STATION_STATE_CONNECTED);
}