Change timeout value for dbus reply 07/66607/1
authorhyunuktak <hyunuk.tak@samsung.com>
Tue, 19 Apr 2016 23:40:06 +0000 (08:40 +0900)
committerhyunuktak <hyunuk.tak@samsung.com>
Tue, 19 Apr 2016 23:40:10 +0000 (08:40 +0900)
Change-Id: Iccd35f7b1e69ac713bfb0bed14f249efe45a6118
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
include/netdbus.h
src/wifi-ssid-scan.c

index a4ba8e2..fb55c8f 100755 (executable)
@@ -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"
index a516789..01fc055 100755 (executable)
@@ -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;