]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
Bluetooth: Log all parameters in cmd_status for easier debugging
authorSzymon Janc <szymon.janc@tieto.com>
Mon, 28 Feb 2011 13:10:08 +0000 (14:10 +0100)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 2 Mar 2011 01:18:47 +0000 (22:18 -0300)
Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/mgmt.c

index 34f58f4ad12bf1059d45d7cdd63834593fc0ec0f..e6efaae764b38fd2c81826516061ad0f3ec6dc9d 100644 (file)
@@ -49,7 +49,7 @@ static int cmd_status(struct sock *sk, u16 index, u16 cmd, u8 status)
        struct mgmt_hdr *hdr;
        struct mgmt_ev_cmd_status *ev;
 
-       BT_DBG("sock %p", sk);
+       BT_DBG("sock %p, index %u, cmd %u, status %u", sk, index, cmd, status);
 
        skb = alloc_skb(sizeof(*hdr) + sizeof(*ev), GFP_ATOMIC);
        if (!skb)