drivers: bluetooth: Added EVT_DATA_BUF_OVERFLOW to bt_hci_evt_is_prio
As it is possible that hci_acl_handle generates an overflow hci event, the high priority thread must be able to processed it. Signed-off-by: Morten Priess <mtpr@oticon.com>
This commit is contained in:
parent
b4282bf72d
commit
d9251a83a0
1 changed files with 2 additions and 0 deletions
|
@ -50,8 +50,10 @@ static inline bool bt_hci_evt_is_prio(u8_t evt)
|
||||||
switch (evt) {
|
switch (evt) {
|
||||||
case BT_HCI_EVT_CMD_COMPLETE:
|
case BT_HCI_EVT_CMD_COMPLETE:
|
||||||
case BT_HCI_EVT_CMD_STATUS:
|
case BT_HCI_EVT_CMD_STATUS:
|
||||||
|
/* fallthrough */
|
||||||
#if defined(CONFIG_BT_CONN)
|
#if defined(CONFIG_BT_CONN)
|
||||||
case BT_HCI_EVT_NUM_COMPLETED_PACKETS:
|
case BT_HCI_EVT_NUM_COMPLETED_PACKETS:
|
||||||
|
case BT_HCI_EVT_DATA_BUF_OVERFLOW:
|
||||||
#endif
|
#endif
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue