diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-01-14 16:44:21 -0500 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-01-15 03:23:47 -0500 |
commit | eeb5a067d11e69fd235a36e17ff16a3177d847a4 (patch) | |
tree | b9d3841a8327a79d95b725addea3447be83bf7b3 /net | |
parent | 7b2ed60ed43ac7348dec33e789d1481891537841 (diff) |
Bluetooth: Show device address type for L2CAP debugfs entries
The devices address types are BR/EDR Public, LE Public and LE Random and
any of these three is valid for L2CAP connections. So show the correct
type in the debugfs list.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/bluetooth/l2cap_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index 11029b212874..4e7477d34eb8 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c | |||
@@ -7527,8 +7527,8 @@ static int l2cap_debugfs_show(struct seq_file *f, void *p) | |||
7527 | read_lock(&chan_list_lock); | 7527 | read_lock(&chan_list_lock); |
7528 | 7528 | ||
7529 | list_for_each_entry(c, &chan_list, global_l) { | 7529 | list_for_each_entry(c, &chan_list, global_l) { |
7530 | seq_printf(f, "%pMR %pMR %d %d 0x%4.4x 0x%4.4x %d %d %d %d\n", | 7530 | seq_printf(f, "%pMR (%u) %pMR (%u) %d %d 0x%4.4x 0x%4.4x %d %d %d %d\n", |
7531 | &c->src, &c->dst, | 7531 | &c->src, c->src_type, &c->dst, c->dst_type, |
7532 | c->state, __le16_to_cpu(c->psm), | 7532 | c->state, __le16_to_cpu(c->psm), |
7533 | c->scid, c->dcid, c->imtu, c->omtu, | 7533 | c->scid, c->dcid, c->imtu, c->omtu, |
7534 | c->sec_level, c->mode); | 7534 | c->sec_level, c->mode); |