Bluetooth: Include address type in blacklist debugfs data
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 18 Oct 2013 00:24:20 +0000 (17:24 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 18 Oct 2013 07:47:33 +0000 (10:47 +0300)
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>
net/bluetooth/hci_core.c

index 940da80..a4047d6 100644 (file)
@@ -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;