station: clear out roam frequencies after roam
This commit is contained in:
parent
874b17ca56
commit
21e95dd2d8
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue