bluez4: Increase Bluez 4 D-Bus timeouts to 60 seconds
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 26 Feb 2013 11:15:52 +0000 (13:15 +0200)
committerDenis Kenzior <denkenz@gmail.com>
Tue, 26 Feb 2013 20:15:44 +0000 (14:15 -0600)
RequestAuthorization method call may trigger pairing and/or pop up a
dialog in the remote device to which the user needs to react. Thus
increase D-Bus timeouts to 60 seconds for the Bluez 4 plugin.

plugins/bluez4.h

index 4fc16ad..3b60cba 100644 (file)
@@ -29,7 +29,7 @@
 #define        BLUEZ_SERVICE_INTERFACE         BLUEZ_SERVICE ".Service"
 #define BLUEZ_SERIAL_INTERFACE         BLUEZ_SERVICE ".Serial"
 
-#define DBUS_TIMEOUT 15
+#define DBUS_TIMEOUT 60
 
 #define DUN_GW_UUID    "00001103-0000-1000-8000-00805f9b34fb"
 #define HFP_AG_UUID    "0000111f-0000-1000-8000-00805f9b34fb"