diff options
author | Marco Sinigaglia <marco.sinigaglia@csr.com> | 2011-03-09 16:59:45 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2011-03-10 11:11:17 +0200 |
commit | 39454251efae92460f2beb3b593b02219266a11b (patch) | |
tree | 313d4d65d77c85e456f9167fda26997f34f5a1fe /tools/hciconfig.c | |
parent | 1f6f8f2c13ea46b2b6f74c6f81b43034004b4758 (diff) | |
download | bluez-39454251efae92460f2beb3b593b02219266a11b.tar.gz |
Adjust LE command timeout and API
The timeout value has been hardcoded on hci_send_req call and, instead,
it should be passed from above (for ex from hci_le_set_scan_enable).
This patch removes the hardcoded value from hci_send_req and it
increases the timeout to 1000ms.
Diffstat (limited to 'tools/hciconfig.c')
-rw-r--r-- | tools/hciconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hciconfig.c b/tools/hciconfig.c index 05a8910dc..aa6d00968 100644 --- a/tools/hciconfig.c +++ b/tools/hciconfig.c @@ -268,7 +268,7 @@ static void cmd_le_adv(int ctl, int hdev, char *opt) rq.rparam = &status; rq.rlen = 1; - ret = hci_send_req(dd, &rq, 100); + ret = hci_send_req(dd, &rq, 1000); hci_close_dev(dd); |