As Bluetooth controller initialization is now performed in kernel, it can take longer time to get user channel socket. So move timeout from 1.5 seconds to 6 seconds. --- tools/btattach.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/btattach.c b/tools/btattach.c index d97429e..8fc5868 100644 --- a/tools/btattach.c +++ b/tools/btattach.c @@ -153,7 +153,7 @@ static int attach_proto(const char *path, unsigned int proto, printf("Device index %d attached\n", dev_id); if (flags & (1 << HCI_UART_RAW_DEVICE)) { - unsigned int attempts = 6; + unsigned int attempts = 24; struct bt_hci *hci; while (attempts-- > 0) { -- 1.9.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