diff options
author | Lukasz Rymanowski <lukasz.rymanowski@tieto.com> | 2014-03-05 10:22:38 +0100 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-03-05 14:04:54 +0100 |
commit | e966826ce35b0cd724dabed84d221a2b110bc947 (patch) | |
tree | edeb81c8bb706a8b2fa59031423107361227c657 /tools/btinfo.c | |
parent | e9a0a023bd7a33ec0d95985b73483f2970749f98 (diff) | |
download | bluez-e966826ce35b0cd724dabed84d221a2b110bc947.tar.gz |
monitor: Use miliseconds instead of seconds in the timeout
Diffstat (limited to 'tools/btinfo.c')
-rw-r--r-- | tools/btinfo.c | 2 |
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); |