summaryrefslogtreecommitdiffstats
path: root/tools/hcitool.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/hcitool.c')
-rw-r--r--tools/hcitool.c4
1 files changed, 3 insertions, 1 deletions
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);
}