Skip to contentSkip to conversation

Bluetooth: Include address type in blacklist debugfs data

PATCH In review Marcel Holtmann 1 participant 1 message Oct 18, 2013

Subsystems (2)
lore
Share & tools
lore

Marcel Holtmann

author maintainer
#0 lore raw

PATCH 8/8 Bluetooth: Include address type in blacklist debugfs data

The address type is important for the blacklist entries. So include it at well.

---
 net/bluetooth/hci_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/bluetooth/hci_core.c +1 -1
index 940da80..a4047d6 100644
@@ -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;
Signature · 1 line
1.8.3.1