From 13ddf08abc628566336f448cf7b080a6a7df4150 Mon Sep 17 00:00:00 2001 From: hyunuktak Date: Wed, 20 Apr 2016 08:40:06 +0900 Subject: [PATCH] Change timeout value for dbus reply Change-Id: Iccd35f7b1e69ac713bfb0bed14f249efe45a6118 Signed-off-by: hyunuktak --- include/netdbus.h | 2 +- src/wifi-ssid-scan.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/netdbus.h b/include/netdbus.h index a4ba8e2..fb55c8f 100755 --- a/include/netdbus.h +++ b/include/netdbus.h @@ -29,7 +29,7 @@ extern "C" { #endif #define DBUS_REPLY_TIMEOUT (120 * 1000) -#define NETCONFIG_DBUS_REPLY_TIMEOUT (10 * 1000) +#define NETCONFIG_DBUS_REPLY_TIMEOUT (15 * 1000) #define DBUS_INTERFACE_PROPERTIES "org.freedesktop.DBus.Properties" #define NETCONFIG_SERVICE "net.netconfig" diff --git a/src/wifi-ssid-scan.c b/src/wifi-ssid-scan.c index a516789..01fc055 100755 --- a/src/wifi-ssid-scan.c +++ b/src/wifi-ssid-scan.c @@ -120,7 +120,6 @@ static gboolean _request_ssid_scan(const char *object_path, const char *ssid) { /* TODO: Revise following code */ -#define NETCONFIG_DBUS_REPLY_TIMEOUT (10 * 1000) GDBusConnection *connection = NULL; GVariant *reply = NULL; GVariant *params = NULL; -- 2.7.4