From b3f9653837d74d6866c90114e52d9d4c024d6423 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 20 Oct 2004 05:51:25 +0000 Subject: Wait some time before calling disconnect --- tools/hcitool.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/hcitool.c b/tools/hcitool.c index df33412f..089ca103 100644 --- a/tools/hcitool.c +++ b/tools/hcitool.c @@ -477,8 +477,10 @@ static void cmd_info(int dev_id, int argc, char **argv) lmp_featurestostr(features, "\t\t", 63)); } - if (cc) + if (cc) { + usleep(10000); hci_disconnect(dd, handle, HCI_OE_USER_ENDED_CONNECTION, 10000); + } close(dd); } -- cgit