mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 14:49:24 +01:00
station: Update to the new GetHiddenAccessPoints API
This commit is contained in:
parent
1237382dda
commit
6df62ab68e
@ -1907,7 +1907,7 @@ static struct l_dbus_message *station_dbus_get_networks(struct l_dbus *dbus,
|
|||||||
return reply;
|
return reply;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct l_dbus_message *station_dbus_get_hidden_stations(
|
static struct l_dbus_message *station_dbus_get_hidden_access_points(
|
||||||
struct l_dbus *dbus,
|
struct l_dbus *dbus,
|
||||||
struct l_dbus_message *message,
|
struct l_dbus_message *message,
|
||||||
void *user_data)
|
void *user_data)
|
||||||
@ -2351,9 +2351,10 @@ static void station_setup_interface(struct l_dbus_interface *interface)
|
|||||||
l_dbus_interface_method(interface, "GetOrderedNetworks", 0,
|
l_dbus_interface_method(interface, "GetOrderedNetworks", 0,
|
||||||
station_dbus_get_networks, "a(on)", "",
|
station_dbus_get_networks, "a(on)", "",
|
||||||
"networks");
|
"networks");
|
||||||
l_dbus_interface_method(interface, "GetHiddenStations", 0,
|
l_dbus_interface_method(interface, "GetHiddenAccessPoints", 0,
|
||||||
station_dbus_get_hidden_stations, "a(sns)", "",
|
station_dbus_get_hidden_access_points,
|
||||||
"stations");
|
"a(sns)", "",
|
||||||
|
"accesspoints");
|
||||||
l_dbus_interface_method(interface, "Scan", 0,
|
l_dbus_interface_method(interface, "Scan", 0,
|
||||||
station_dbus_scan, "", "");
|
station_dbus_scan, "", "");
|
||||||
l_dbus_interface_method(interface, "RegisterSignalLevelAgent", 0,
|
l_dbus_interface_method(interface, "RegisterSignalLevelAgent", 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user