From: Andrei Emeltchenko Date: Tue, 10 Jul 2012 12:27:47 +0000 (+0300) Subject: Bluetooth: debug: Add printing num of cmds queued X-Git-Tag: next-20120724~64^2~34 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2104786b429766adb32b5300bb5b4258abfd4b16;p=karo-tx-linux.git Bluetooth: debug: Add printing num of cmds queued Signed-off-by: Andrei Emeltchenko Signed-off-by: Gustavo Padovan --- diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index f932d663ff68..d4de5db18d5a 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c @@ -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)) {