Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2104786b authored by Andrei Emeltchenko's avatar Andrei Emeltchenko Committed by Gustavo Padovan
Browse files

Bluetooth: debug: Add printing num of cmds queued

parent afeb019d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2821,7 +2821,8 @@ static void hci_cmd_work(struct work_struct *work)
	struct hci_dev *hdev = container_of(work, struct hci_dev, cmd_work);
	struct sk_buff *skb;

	BT_DBG("%s cmd %d", hdev->name, atomic_read(&hdev->cmd_cnt));
	BT_DBG("%s cmd_cnt %d cmd queued %d", hdev->name,
	       atomic_read(&hdev->cmd_cnt), skb_queue_len(&hdev->cmd_q));

	/* Send queued commands */
	if (atomic_read(&hdev->cmd_cnt)) {