mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
20d1803a70
commit
e05dcc3291
4 changed files with 7 additions and 5 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue