diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-02-17 04:40:57 -0500 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-17 06:02:33 -0500 |
commit | 42d2d87cfe837e987802588f8d8b119a76714a74 (patch) | |
tree | db9e84b042095eb1251736b851471750f7168a96 /net/bluetooth/l2cap_core.c | |
parent | e05dcc3291dcfe9ab1b456f38ccb3041ebbda59c (diff) |
Bluetooth: Prefix hex numbers with object name
Several hex numbers were printed without object name which
complicates debugging.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/l2cap_core.c')
-rw-r--r-- | net/bluetooth/l2cap_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index 88968e711d3..37736c6603f 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c | |||
@@ -217,7 +217,7 @@ static u16 l2cap_alloc_cid(struct l2cap_conn *conn) | |||
217 | 217 | ||
218 | static void l2cap_state_change(struct l2cap_chan *chan, int state) | 218 | static void l2cap_state_change(struct l2cap_chan *chan, int state) |
219 | { | 219 | { |
220 | BT_DBG("%p %s -> %s", chan, state_to_string(chan->state), | 220 | BT_DBG("chan %p %s -> %s", chan, state_to_string(chan->state), |
221 | state_to_string(state)); | 221 | state_to_string(state)); |
222 | 222 | ||
223 | chan->state = state; | 223 | chan->state = state; |