diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-07-10 15:27:47 +0300 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-07-10 15:35:27 -0300 |
commit | 2104786b429766adb32b5300bb5b4258abfd4b16 (patch) | |
tree | c94a858f9b1cb1547f6bb61539a772e5b59cab29 /net/bluetooth | |
parent | afeb019d0ac329feb500dca444d9692064789096 (diff) | |
download | op-kernel-dev-2104786b429766adb32b5300bb5b4258abfd4b16.zip op-kernel-dev-2104786b429766adb32b5300bb5b4258abfd4b16.tar.gz |
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/bluetooth')
-rw-r--r-- | net/bluetooth/hci_core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index f932d66..d4de5db 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)) { |