From 0719b242af8c283c5ffc2a88a07e0ce98d46d75f Mon Sep 17 00:00:00 2001 From: Kristian Lauszus Date: Wed, 8 Aug 2012 19:21:57 +0200 Subject: [PATCH] Increased timeout before scanning again --- BTD.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTD.cpp b/BTD.cpp index e59a1bc3..a5ade81c 100644 --- a/BTD.cpp +++ b/BTD.cpp @@ -566,7 +566,7 @@ void BTD::HCI_task() { case HCI_DONE_STATE: hci_counter++; - if (hci_counter > 100) { // Wait until we have looped 100 times to make sure that the L2CAP connection has been started + if (hci_counter > 250) { // Wait until we have looped 250 times to make sure that the L2CAP connection has been started hci_state = HCI_SCANNING_STATE; l2capConnectionClaimed = false; }