summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_conn.c
diff options
context:
space:
mode:
authorAndrei Emeltchenko2012-02-17 10:40:56 +0100
committerJohan Hedberg2012-02-17 12:01:54 +0100
commite05dcc3291dcfe9ab1b456f38ccb3041ebbda59c (patch)
treeb1d7c7a5b31160e5689b693e446dbdda52f8d2c7 /net/bluetooth/hci_conn.c
parentBluetooth: Move scope of state_to_string (diff)
downloadkernel-qcow2-linux-e05dcc3291dcfe9ab1b456f38ccb3041ebbda59c.tar.gz
kernel-qcow2-linux-e05dcc3291dcfe9ab1b456f38ccb3041ebbda59c.tar.xz
kernel-qcow2-linux-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.c2
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;