RISC-V: Correctly print supported extensions
[platform/kernel/linux-starfive.git] / net / bluetooth / hci_debugfs.c
index 47f4f21..8413933 100644 (file)
@@ -125,7 +125,7 @@ static int device_list_show(struct seq_file *f, void *ptr)
        struct bdaddr_list *b;
 
        hci_dev_lock(hdev);
-       list_for_each_entry(b, &hdev->whitelist, list)
+       list_for_each_entry(b, &hdev->accept_list, list)
                seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type);
        list_for_each_entry(p, &hdev->le_conn_params, list) {
                seq_printf(f, "%pMR (type %u) %u\n", &p->addr, p->addr_type,
@@ -144,7 +144,7 @@ static int blacklist_show(struct seq_file *f, void *p)
        struct bdaddr_list *b;
 
        hci_dev_lock(hdev);
-       list_for_each_entry(b, &hdev->blacklist, list)
+       list_for_each_entry(b, &hdev->reject_list, list)
                seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type);
        hci_dev_unlock(hdev);
 
@@ -784,7 +784,7 @@ static int white_list_show(struct seq_file *f, void *ptr)
        struct bdaddr_list *b;
 
        hci_dev_lock(hdev);
-       list_for_each_entry(b, &hdev->le_white_list, list)
+       list_for_each_entry(b, &hdev->le_accept_list, list)
                seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type);
        hci_dev_unlock(hdev);
 
@@ -1195,7 +1195,7 @@ void hci_debugfs_create_le(struct hci_dev *hdev)
                                    &force_static_address_fops);
 
        debugfs_create_u8("white_list_size", 0444, hdev->debugfs,
-                         &hdev->le_white_list_size);
+                         &hdev->le_accept_list_size);
        debugfs_create_file("white_list", 0444, hdev->debugfs, hdev,
                            &white_list_fops);
        debugfs_create_u8("resolv_list_size", 0444, hdev->debugfs,