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:
parent
874b17ca56
commit
21e95dd2d8
@ -1442,6 +1442,11 @@ static void station_roamed(struct station *station)
|
|||||||
if (station->netconfig)
|
if (station->netconfig)
|
||||||
netconfig_reconfigure(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);
|
station_enter_state(station, STATION_STATE_CONNECTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user