diff --git a/src/station.c b/src/station.c index ba4483e6..0d4cd47d 100644 --- 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); }