mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 14:49:24 +01:00
station: move Roam() under station debug interface
This commit is contained in:
parent
3afa5e570d
commit
77c4d311ff
@ -3783,10 +3783,6 @@ static void station_setup_diagnostic_interface(
|
|||||||
l_dbus_interface_method(interface, "GetDiagnostics", 0,
|
l_dbus_interface_method(interface, "GetDiagnostics", 0,
|
||||||
station_get_diagnostics, "a{sv}", "",
|
station_get_diagnostics, "a{sv}", "",
|
||||||
"diagnostics");
|
"diagnostics");
|
||||||
|
|
||||||
if (iwd_is_developer_mode())
|
|
||||||
l_dbus_interface_method(interface, "Roam", 0,
|
|
||||||
station_force_roam, "", "ay", "mac");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void station_destroy_diagnostic_interface(void *user_data)
|
static void station_destroy_diagnostic_interface(void *user_data)
|
||||||
@ -3841,6 +3837,8 @@ static void station_setup_debug_interface(
|
|||||||
l_dbus_interface_method(interface, "ConnectBssid", 0,
|
l_dbus_interface_method(interface, "ConnectBssid", 0,
|
||||||
station_force_connect_bssid, "", "ay",
|
station_force_connect_bssid, "", "ay",
|
||||||
"mac");
|
"mac");
|
||||||
|
l_dbus_interface_method(interface, "Roam", 0,
|
||||||
|
station_force_roam, "", "ay", "mac");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ap_roam_frame_event(const struct mmpdu_header *hdr,
|
static void ap_roam_frame_event(const struct mmpdu_header *hdr,
|
||||||
|
Loading…
Reference in New Issue
Block a user