diff options
author | Andrei Emeltchenko | 2012-02-17 11:40:56 +0200 |
---|---|---|
committer | Johan Hedberg | 2012-02-17 13:01:54 +0200 |
commit | e05dcc3291dcfe9ab1b456f38ccb3041ebbda59c (patch) | |
tree | b1d7c7a5b31160e5689b693e446dbdda52f8d2c7 /net/bluetooth/hci_conn.c | |
parent | 20d1803a70ddafc8410b461caaa397e49da246ac (diff) |
Bluetooth: Use symbolic names for state in debug
Use state_to_string function in debug statements.
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/hci_conn.c')
-rw-r--r-- | net/bluetooth/hci_conn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c index b4ecddee11b5..f38e1b11d835 100644 --- a/net/bluetooth/hci_conn.c +++ b/net/bluetooth/hci_conn.c @@ -282,7 +282,7 @@ static void hci_conn_timeout(struct work_struct *work) disc_work.work); __u8 reason; - BT_DBG("conn %p state %d", conn, conn->state); + BT_DBG("conn %p state %s", conn, state_to_string(conn->state)); if (atomic_read(&conn->refcnt)) return; |