3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:22:37 +01:00

station: clear out roam frequencies after roam

This commit is contained in:
James Prestwood 2021-03-29 12:07:40 -07:00 committed by Denis Kenzior
parent 874b17ca56
commit 21e95dd2d8

View File

@ -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);
}