nimble/host: Fix host event buffer count

Fixes the problem of not putting events such as,
for example ble_hs_hci_evt_le_scan_timeout to the queue.
This commit is contained in:
Michal Gorecki
2022-08-22 18:54:32 +02:00
committed by Andrzej Kaczmarek
parent 9bd8b5b78c
commit ef4f44a02e
+2 -1
View File
@@ -30,7 +30,8 @@
#include "nimble/nimble_port.h"
#endif
#define BLE_HS_HCI_EVT_COUNT MYNEWT_VAL(BLE_TRANSPORT_EVT_COUNT)
#define BLE_HS_HCI_EVT_COUNT (MYNEWT_VAL(BLE_TRANSPORT_EVT_COUNT) + \
MYNEWT_VAL(BLE_TRANSPORT_EVT_DISCARDABLE_COUNT))
static void ble_hs_event_rx_hci_ev(struct ble_npl_event *ev);
#if NIMBLE_BLE_CONNECT