Skip to content

Commit

Permalink
Bluetooth: Prefix hex numbers with object name
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrei Emeltchenko authored and Johan Hedberg committed Feb 17, 2012
1 parent e05dcc3 commit 42d2d87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/bluetooth/hci_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void hci_acl_connect(struct hci_conn *conn)
struct inquiry_entry *ie;
struct hci_cp_create_conn cp;

BT_DBG("%p", conn);
BT_DBG("hcon %p", conn);

conn->state = BT_CONNECT;
conn->out = true;
Expand Down
2 changes: 1 addition & 1 deletion net/bluetooth/l2cap_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ static u16 l2cap_alloc_cid(struct l2cap_conn *conn)

static void l2cap_state_change(struct l2cap_chan *chan, int state)
{
BT_DBG("%p %s -> %s", chan, state_to_string(chan->state),
BT_DBG("chan %p %s -> %s", chan, state_to_string(chan->state),
state_to_string(state));

chan->state = state;
Expand Down

0 comments on commit 42d2d87

Please sign in to comment.