summaryrefslogtreecommitdiff
path: root/tools/btinfo.c
diff options
context:
space:
mode:
authorLukasz Rymanowski <lukasz.rymanowski@tieto.com>2014-03-05 10:22:38 +0100
committerSzymon Janc <szymon.janc@tieto.com>2014-03-05 14:04:54 +0100
commite966826ce35b0cd724dabed84d221a2b110bc947 (patch)
treeedeb81c8bb706a8b2fa59031423107361227c657 /tools/btinfo.c
parente9a0a023bd7a33ec0d95985b73483f2970749f98 (diff)
downloadbluez-e966826ce35b0cd724dabed84d221a2b110bc947.tar.gz
monitor: Use miliseconds instead of seconds in the timeout
Diffstat (limited to 'tools/btinfo.c')
-rw-r--r--tools/btinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/btinfo.c b/tools/btinfo.c
index 79518080c..669313265 100644
--- a/tools/btinfo.c
+++ b/tools/btinfo.c
@@ -109,7 +109,7 @@ static void shutdown_device(void)
bt_hci_flush(hci_dev);
if (reset_on_shutdown) {
- id = mainloop_add_timeout(5, shutdown_timeout, NULL, NULL);
+ id = mainloop_add_timeout(5000, shutdown_timeout, NULL, NULL);
bt_hci_send(hci_dev, BT_HCI_CMD_RESET, NULL, 0,
shutdown_complete, UINT_TO_PTR(id), NULL);