summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-02-12 11:59:14 -0600
committerDenis Kenzior <denkenz@gmail.com>2010-02-12 12:01:07 -0600
commit35f83a71295ed76148ab057cdd81bd096bb785f5 (patch)
tree8aa07c8253bc59c508a6abece3be1d81bc3c1830
parent668dc8e42b553d73765f583fba9a0c9fcf731127 (diff)
downloadofono-35f83a71295ed76148ab057cdd81bd096bb785f5.tar.bz2
Fix: Use a 15 second timeout on a disconnect
-rw-r--r--plugins/hfp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/hfp.c b/plugins/hfp.c
index f66b6a0b..9191af2c 100644
--- a/plugins/hfp.c
+++ b/plugins/hfp.c
@@ -860,7 +860,7 @@ static int hfp_disable(struct ofono_modem *modem)
status = send_method_call_with_reply(BLUEZ_SERVICE,
data->handsfree_path,
BLUEZ_GATEWAY_INTERFACE, "Disconnect",
- hfp_power_down, modem, -1, DBUS_TYPE_INVALID);
+ hfp_power_down, modem, 15, DBUS_TYPE_INVALID);
if (status < 0)
return -EINVAL;