Skip to content

Commit

Permalink
Bluetooth: Add L2CAP mode to debugfs output
Browse files Browse the repository at this point in the history
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
  • Loading branch information
Gustavo F. Padovan committed Feb 15, 2011
1 parent c531a12 commit 903d343
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions net/bluetooth/l2cap_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -3766,12 +3766,13 @@ static int l2cap_debugfs_show(struct seq_file *f, void *p)
sk_for_each(sk, node, &l2cap_sk_list.head) {
struct l2cap_pinfo *pi = l2cap_pi(sk);

seq_printf(f, "%s %s %d %d 0x%4.4x 0x%4.4x %d %d %d\n",
seq_printf(f, "%s %s %d %d 0x%4.4x 0x%4.4x %d %d %d %d\n",
batostr(&bt_sk(sk)->src),
batostr(&bt_sk(sk)->dst),
sk->sk_state, __le16_to_cpu(pi->psm),
pi->scid, pi->dcid,
pi->imtu, pi->omtu, pi->sec_level);
pi->imtu, pi->omtu, pi->sec_level,
pi->mode);
}

read_unlock_bh(&l2cap_sk_list.lock);
Expand Down

0 comments on commit 903d343

Please sign in to comment.