From f17268104872c2411963269e71f67cd5004a1121 Mon Sep 17 00:00:00 2001 From: Andrew Zaborowski Date: Wed, 21 Feb 2018 15:26:17 +0100 Subject: iwd: Disable timeout for iwd Device.Connect call Change from the default dbus call timeout (-1) to infinite (G_MAXINT) because the call may now include the secret requests which have their own timeout policies. --- src/devices/wifi/nm-device-iwd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/wifi/nm-device-iwd.c b/src/devices/wifi/nm-device-iwd.c index 75e9977b02..447700f609 100644 --- a/src/devices/wifi/nm-device-iwd.c +++ b/src/devices/wifi/nm-device-iwd.c @@ -1323,7 +1323,7 @@ act_stage2_config (NMDevice *device, NMDeviceStateReason *out_failure_reason) */ g_dbus_proxy_call (network_proxy, "Connect", g_variant_new ("()"), - G_DBUS_CALL_FLAGS_NONE, -1, + G_DBUS_CALL_FLAGS_NONE, G_MAXINT, priv->cancellable, network_connect_cb, self); g_object_unref (network_proxy); -- cgit v1.2.1