summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2012-07-10 15:27:47 +0300
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-07-10 15:35:27 -0300
commit2104786b429766adb32b5300bb5b4258abfd4b16 (patch)
treec94a858f9b1cb1547f6bb61539a772e5b59cab29 /net
parentafeb019d0ac329feb500dca444d9692064789096 (diff)
downloadlinux-2104786b429766adb32b5300bb5b4258abfd4b16.tar.gz
linux-2104786b429766adb32b5300bb5b4258abfd4b16.tar.bz2
linux-2104786b429766adb32b5300bb5b4258abfd4b16.zip
Bluetooth: debug: Add printing num of cmds queued
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net')
-rw-r--r--net/bluetooth/hci_core.c3
1 files changed, 2 insertions, 1 deletions
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)) {