diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-02-17 11:40:56 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-17 13:01:54 +0200 |
commit | e05dcc3291dcfe9ab1b456f38ccb3041ebbda59c (patch) | |
tree | b1d7c7a5b31160e5689b693e446dbdda52f8d2c7 /net/bluetooth/hci_conn.c | |
parent | 20d1803a70ddafc8410b461caaa397e49da246ac (diff) | |
download | linux-3.10-e05dcc3291dcfe9ab1b456f38ccb3041ebbda59c.tar.gz linux-3.10-e05dcc3291dcfe9ab1b456f38ccb3041ebbda59c.tar.bz2 linux-3.10-e05dcc3291dcfe9ab1b456f38ccb3041ebbda59c.zip |
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 b4ecddee11b..f38e1b11d83 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; |