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>
This commit is contained in:
Joakim Andersson 2019-07-31 14:54:46 +02:00 committed by Carles Cufí
commit 7f757e64d3

View file

@ -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;
}