summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-10-17 17:24:20 -0700
committerJohan Hedberg <johan.hedberg@intel.com>2013-10-18 10:47:33 +0300
commitb25f07854791539ef1c1aff3a968cfe36cb31adf (patch)
treec6e6cd71b3b4d82615d3afbd29cd419e5327194a
parentbdc3e0f1d2019fbf89f150ed98860b1a7a762fe9 (diff)
downloadlinux-b25f07854791539ef1c1aff3a968cfe36cb31adf.tar.gz
Bluetooth: Include address type in blacklist debugfs data
The address type is important for the blacklist entries. So include
it at well.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
-rw-r--r--net/bluetooth/hci_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index 940da800f5c3..a4047d626b78 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -65,7 +65,7 @@ static int blacklist_show(struct seq_file *f, void *p)
 
 	hci_dev_lock(hdev);
 	list_for_each_entry(b, &hdev->blacklist, list)
-		seq_printf(f, "%pMR\n", &b->bdaddr);
+		seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type);
 	hci_dev_unlock(hdev);
 
 	return 0;