Skip to content
Permalink
Browse files

Bluetooth: Host: Move BT_DBG out of irq_lock

Don't have BT_DBG inside of irq_lock, this will create unnecessary IRQ
delays.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
  • Loading branch information...
joerchan authored and carlescufi committed Jul 31, 2019
1 parent 1555ae8 commit 7f757e64d3d505721f9a4f5851622ea61403601d
Showing with 1 addition and 1 deletion.
  1. +1 −1 subsys/bluetooth/host/hci_core.c
@@ -658,8 +658,8 @@ static void hci_num_completed_packets(struct net_buf *buf)

conn = bt_conn_lookup_handle(handle);
if (!conn) {
BT_ERR("No connection for handle %u", handle);
irq_unlock(key);
BT_ERR("No connection for handle %u", handle);
continue;
}

0 comments on commit 7f757e6

Please sign in to comment.
You can’t perform that action at this time.