diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2011-02-28 14:10:08 +0100 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-03-02 02:18:47 +0100 |
commit | 34eb525c1fda689507118a1f2c77fef51832ec8a (patch) | |
tree | bab0c36c61152f88d59881fa3c466e937e1153c4 | |
parent | Bluetooth: Fix possible NULL pointer dereference in cmd_complete (diff) | |
download | linux-34eb525c1fda689507118a1f2c77fef51832ec8a.tar.xz linux-34eb525c1fda689507118a1f2c77fef51832ec8a.zip |
Bluetooth: Log all parameters in cmd_status for easier debugging
Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
-rw-r--r-- | net/bluetooth/mgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index 34f58f4ad12b..e6efaae764b3 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c @@ -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) |