nimble/host: Increase HCI command timeout

1 sec is not enough sometimes, let's make it 2 secs - the same value is
used in e.g. Linux Kernel.

X-Original-Commit: 185e2961e7271227d4b35db3b4e427edd2d6cd66
This commit is contained in:
Andrzej Kaczmarek
2017-12-15 10:23:54 +01:00
parent 6de52d252a
commit b0b7787da2
+1 -1
View File
@@ -28,7 +28,7 @@
#include "ble_hs_dbg_priv.h"
#include "ble_monitor_priv.h"
#define BLE_HCI_CMD_TIMEOUT (OS_TICKS_PER_SEC)
#define BLE_HCI_CMD_TIMEOUT ((OS_TICKS_PER_SEC) * 2)
static struct os_mutex ble_hs_hci_mutex;
static struct os_sem ble_hs_hci_sem;