]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Bluetooth: hci_core: Print information of hcon on hci_low_sent
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 20 Aug 2025 16:21:09 +0000 (12:21 -0400)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Sat, 27 Sep 2025 15:37:01 +0000 (11:37 -0400)
This prints the information about the hcon on hci_low_sent to confirm
all connection are being processed.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_core.c

index 198819577fe574ae78b33602fca6a08802f906a7..3418d7b964a1c73c8ebc1a0e809a0fa62bfa5d05 100644 (file)
@@ -3435,6 +3435,10 @@ static struct hci_conn *hci_low_sent(struct hci_dev *hdev, __u8 type,
                    skb_queue_empty(&c->data_q))
                        continue;
 
+               bt_dev_dbg(hdev, "hcon %p state %s queued %d", c,
+                          state_to_string(c->state),
+                          skb_queue_len(&c->data_q));
+
                if (c->state != BT_CONNECTED && c->state != BT_CONFIG)
                        continue;