diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-07-10 08:27:47 -0400 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-07-10 14:35:27 -0400 |
commit | 2104786b429766adb32b5300bb5b4258abfd4b16 (patch) | |
tree | c94a858f9b1cb1547f6bb61539a772e5b59cab29 /net/bluetooth | |
parent | afeb019d0ac329feb500dca444d9692064789096 (diff) |
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 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) | |||
2821 | struct hci_dev *hdev = container_of(work, struct hci_dev, cmd_work); | 2821 | struct hci_dev *hdev = container_of(work, struct hci_dev, cmd_work); |
2822 | struct sk_buff *skb; | 2822 | struct sk_buff *skb; |
2823 | 2823 | ||
2824 | BT_DBG("%s cmd %d", hdev->name, atomic_read(&hdev->cmd_cnt)); | 2824 | BT_DBG("%s cmd_cnt %d cmd queued %d", hdev->name, |
2825 | atomic_read(&hdev->cmd_cnt), skb_queue_len(&hdev->cmd_q)); | ||
2825 | 2826 | ||
2826 | /* Send queued commands */ | 2827 | /* Send queued commands */ |
2827 | if (atomic_read(&hdev->cmd_cnt)) { | 2828 | if (atomic_read(&hdev->cmd_cnt)) { |