mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 06:30:08 +01:00
wifi: change return type of p2p-connect D-Bus method call
Fix the following error when invoking the Connect() p2p method:
call-p2p-connect: failed with Method “fi.w1.wpa_supplicant1.Interface.P2PDevice.Connect” returned type “(s)”, but expected “()”
Fixes: b83f07916a ('supplicant: large rework of wpa_supplicant handling')
This commit is contained in:
parent
61a97f8b0f
commit
a5338affb5
1 changed files with 1 additions and 1 deletions
|
|
@ -2504,7 +2504,7 @@ nm_supplicant_interface_p2p_connect (NMSupplicantInterface *self,
|
|||
NM_WPAS_DBUS_IFACE_INTERFACE_P2P_DEVICE,
|
||||
"Connect",
|
||||
g_variant_new ("(a{sv})", &builder),
|
||||
G_VARIANT_TYPE ("()"),
|
||||
G_VARIANT_TYPE ("(s)"),
|
||||
"p2p-connect");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue