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 34f58f4..e6efaae 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)