[PATCH] hciattach: Send timeout increase to support CC2564B

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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;
        }
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux