summaryrefslogtreecommitdiffstats
path: root/net/bluetooth
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2012-11-20 17:16:21 +0200
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-11-20 15:55:09 -0200
commit1bb166e66cc46323d3757ce1027cc1c767498d50 (patch)
treecb31c7e6a4e1dd8a35461cfb5dee1abf686a07f9 /net/bluetooth
parent37295996ce181a2a4e74308070abf06bd822f7a1 (diff)
downloadblackbird-op-linux-1bb166e66cc46323d3757ce1027cc1c767498d50.tar.gz
blackbird-op-linux-1bb166e66cc46323d3757ce1027cc1c767498d50.zip
Bluetooth: Improve error message printing
Instead of printing: "[ 7763.082007] Bluetooth: 2" print something like: "[ 7763.082007] Bluetooth: Trailing bytes: 2 in sframe" 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/l2cap_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c
index 7114bdff5958..f44c5429b4f0 100644
--- a/net/bluetooth/l2cap_core.c
+++ b/net/bluetooth/l2cap_core.c
@@ -6091,7 +6091,7 @@ static int l2cap_data_rcv(struct l2cap_chan *chan, struct sk_buff *skb)
control->super);
if (len != 0) {
- BT_ERR("%d", len);
+ BT_ERR("Trailing bytes: %d in sframe", len);
l2cap_send_disconn_req(chan->conn, chan, ECONNRESET);
goto drop;
}
OpenPOWER on IntegriCloud