[PATCH] hciattach: Send timeout increase to support CC2564B

DORMANTno replies

From: Jonas Rydow <hidden>
Date: 2014-11-19 11:52:16
Subsystem: the rest · Maintainer: Linus Torvalds

This patch increases the send timeout, which for the CC2564B caused
HCI_VS_LE_Enable
to timeout and fail.
---
 tools/hciattach_ti.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/hciattach_ti.c b/tools/hciattach_ti.c
index 8322b45..3d231e2 100644
--- a/tools/hciattach_ti.c
+++ b/tools/hciattach_ti.c
@@ -253,7 +253,7 @@ static int brf_send_command_socket(int fd, struct
bts_action_send *send_action)
        rq.rparam = response;
        rq.rlen   = sizeof(response);

-       if (hci_send_req(fd, &rq, 15) < 0) {
+       if (hci_send_req(fd, &rq, 150) < 0) {
                perror("Cannot send hci command to socket");
                return -1;
        }
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help