diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2020-04-20 17:01:56 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2020-04-20 17:13:39 +0200 |
commit | 1dfd35da20a75611066247d47daa1945c77313b2 (patch) | |
tree | d4901a4293017c6e377831f034ee31c3ff48e935 /src/supplicant/nm-supplicant-interface.c | |
parent | 4938299a9b428e3f10832b2d31fe694cad9e9945 (diff) |
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: b83f07916a54 ('supplicant: large rework of wpa_supplicant handling')
(cherry picked from commit a5338affb5e64c48fcdb90f1b7bbf9a93cae4342)
Diffstat (limited to 'src/supplicant/nm-supplicant-interface.c')
-rw-r--r-- | src/supplicant/nm-supplicant-interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supplicant/nm-supplicant-interface.c b/src/supplicant/nm-supplicant-interface.c index cc3d109e35..a02f540256 100644 --- a/src/supplicant/nm-supplicant-interface.c +++ b/src/supplicant/nm-supplicant-interface.c @@ -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"); } |