mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-24 15:22:34 +01:00
station: set preparing_roam flag on Roam()
The preparing_roam flag is expected to be set by a few roam routines and normally this is done prior to the roam scan. The Roam() developer option was not doing this and would cause failed roams in some cases.
This commit is contained in:
parent
04f563c3dc
commit
b33d100f7b
@ -3750,6 +3750,9 @@ static struct l_dbus_message *station_force_roam(struct l_dbus *dbus,
|
|||||||
|
|
||||||
l_debug("Attempting forced roam to BSS "MAC, MAC_STR(mac));
|
l_debug("Attempting forced roam to BSS "MAC, MAC_STR(mac));
|
||||||
|
|
||||||
|
/* The various roam routines expect this to be set from scanning */
|
||||||
|
station->preparing_roam = true;
|
||||||
|
|
||||||
station_transition_start(station, target);
|
station_transition_start(station, target);
|
||||||
|
|
||||||
return l_dbus_message_new_method_return(message);
|
return l_dbus_message_new_method_return(message);
|
||||||
|
Loading…
Reference in New Issue
Block a user