mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-22 02:35:25 +00:00
libnm: fix interface and object path for P2P StartFind/StopFind calls
The change to use a GDBusConnection (7871105ff9
) introduced a bug by using the wrong hardcoded path and the wrong interface. Correct this mistake again. Fixes:7871105ff9
('libnm: implement nm_device_wifi_p2p_start_find()/nm_device_wifi_p2p_stop_find() by using GDBusConnection directly') https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/399
This commit is contained in:
parent
7766e24cdc
commit
e8cc69c37e
|
@ -165,8 +165,8 @@ nm_device_wifi_p2p_start_find (NMDeviceWifiP2P *device,
|
|||
cancellable,
|
||||
callback,
|
||||
user_data,
|
||||
NM_DBUS_PATH,
|
||||
NM_DBUS_INTERFACE,
|
||||
_nm_object_get_path (device),
|
||||
NM_DBUS_INTERFACE_DEVICE_WIFI_P2P,
|
||||
"StartFind",
|
||||
g_variant_new ("(@a{sv})", options),
|
||||
G_VARIANT_TYPE ("()"),
|
||||
|
@ -224,8 +224,8 @@ nm_device_wifi_p2p_stop_find (NMDeviceWifiP2P *device,
|
|||
cancellable,
|
||||
callback,
|
||||
user_data,
|
||||
NM_DBUS_PATH,
|
||||
NM_DBUS_INTERFACE,
|
||||
_nm_object_get_path (device),
|
||||
NM_DBUS_INTERFACE_DEVICE_WIFI_P2P,
|
||||
"StopFind",
|
||||
g_variant_new ("()"),
|
||||
G_VARIANT_TYPE ("()"),
|
||||
|
|
Loading…
Reference in a new issue