diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-09-29 11:55:05 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-09-29 11:55:05 +0200 |
commit | 212245a0976be6afde0d046482cea1af923bf0a9 (patch) | |
tree | 4e721e11aedda9576bcc687549f31ac9470200c3 /tools/hcitool.c | |
parent | 67656f8ec9be1979e08b4e9f2710e7f797b565bd (diff) | |
download | bluez-212245a0976be6afde0d046482cea1af923bf0a9.tar.gz |
tools: Increase timeout for sending LE scan command
Diffstat (limited to 'tools/hcitool.c')
-rw-r--r-- | tools/hcitool.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/hcitool.c b/tools/hcitool.c index 769f1d200..41386a6d4 100644 --- a/tools/hcitool.c +++ b/tools/hcitool.c @@ -2528,13 +2528,13 @@ static void cmd_lescan(int dev_id, int argc, char **argv) } err = hci_le_set_scan_parameters(dd, scan_type, interval, window, - own_type, filter_policy, 1000); + own_type, filter_policy, 10000); if (err < 0) { perror("Set scan parameters failed"); exit(1); } - err = hci_le_set_scan_enable(dd, 0x01, filter_dup, 1000); + err = hci_le_set_scan_enable(dd, 0x01, filter_dup, 10000); if (err < 0) { perror("Enable scan failed"); exit(1); @@ -2548,7 +2548,7 @@ static void cmd_lescan(int dev_id, int argc, char **argv) exit(1); } - err = hci_le_set_scan_enable(dd, 0x00, filter_dup, 1000); + err = hci_le_set_scan_enable(dd, 0x00, filter_dup, 10000); if (err < 0) { perror("Disable scan failed"); exit(1); |