diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-02-17 13:40:56 +0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-17 15:01:54 +0400 |
commit | e05dcc3291dcfe9ab1b456f38ccb3041ebbda59c (patch) | |
tree | b1d7c7a5b31160e5689b693e446dbdda52f8d2c7 /net/bluetooth/l2cap_sock.c | |
parent | 20d1803a70ddafc8410b461caaa397e49da246ac (diff) | |
download | linux-e05dcc3291dcfe9ab1b456f38ccb3041ebbda59c.tar.xz |
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/l2cap_sock.c')
-rw-r--r-- | net/bluetooth/l2cap_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap_sock.c b/net/bluetooth/l2cap_sock.c index 138fe3446678..b48d6c1b9db6 100644 --- a/net/bluetooth/l2cap_sock.c +++ b/net/bluetooth/l2cap_sock.c @@ -783,7 +783,7 @@ static void l2cap_sock_kill(struct sock *sk) if (!sock_flag(sk, SOCK_ZAPPED) || sk->sk_socket) return; - BT_DBG("sk %p state %d", sk, sk->sk_state); + BT_DBG("sk %p state %s", sk, state_to_string(sk->sk_state)); /* Kill poor orphan */ |