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: v3.6-rc1~125^2~57^2~2^2~26 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=2104786b429766adb32b5300bb5b4258abfd4b16;p=~emulex%2Finfiniband.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 f932d663ff6..d4de5db18d5 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)) {