diff options
author | Andrew Zaborowski <andrew.zaborowski@intel.com> | 2018-02-21 15:26:17 +0100 |
---|---|---|
committer | Andrew Zaborowski <balrogg@gmail.com> | 2018-03-05 00:33:20 +0100 |
commit | f17268104872c2411963269e71f67cd5004a1121 (patch) | |
tree | 027e13b32c250ffddfc5f44370d2f3bde88da7ef | |
parent | 900751794fe7167d00e11f5f1575cc88cd0cb23c (diff) | |
download | NetworkManager-f17268104872c2411963269e71f67cd5004a1121.tar.gz |
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.
-rw-r--r-- | src/devices/wifi/nm-device-iwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |