Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 229e5d55 authored by Myles Watson's avatar Myles Watson
Browse files

hci: Reduce HCI timeout to 2 seconds

Test: Bluetooth starts/stops, Bluetooth scan works
Change-Id: I4b04d71d57f45956898ff1a99e495195b54f4e8e
parent ce833a3c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -60,7 +60,8 @@ typedef struct {
#define DEFAULT_STARTUP_TIMEOUT_MS 8000
#define STRING_VALUE_OF(x) #x

static const uint32_t COMMAND_PENDING_TIMEOUT_MS = 8000;
// Abort if there is no response to an HCI command within two seconds.
static const uint32_t COMMAND_PENDING_TIMEOUT_MS = 2000;

// Our interface
static bool interface_created;