mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 07:10:07 +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') (cherry picked from commita5338affb5)
This commit is contained in:
parent
4938299a9b
commit
1dfd35da20
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