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

Commit 98f9eecb authored by Myles Watson's avatar Myles Watson Committed by android-build-merger
Browse files

hci: Reduce HCI timeout to 2 seconds

am: 229e5d55

Change-Id: Ia26374f62252fe1133cb4129906618b6647fc98d
parents 94bd1761 229e5d55
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;