diff options
Diffstat (limited to 'net/bluetooth/hci_conn.c')
-rw-r--r-- | net/bluetooth/hci_conn.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c index 4405fb352c70..75240aaca101 100644 --- a/net/bluetooth/hci_conn.c +++ b/net/bluetooth/hci_conn.c | |||
@@ -25,6 +25,7 @@ | |||
25 | /* Bluetooth HCI connection handling. */ | 25 | /* Bluetooth HCI connection handling. */ |
26 | 26 | ||
27 | #include <linux/export.h> | 27 | #include <linux/export.h> |
28 | #include <linux/debugfs.h> | ||
28 | 29 | ||
29 | #include <net/bluetooth/bluetooth.h> | 30 | #include <net/bluetooth/bluetooth.h> |
30 | #include <net/bluetooth/hci_core.h> | 31 | #include <net/bluetooth/hci_core.h> |
@@ -547,6 +548,8 @@ int hci_conn_del(struct hci_conn *conn) | |||
547 | 548 | ||
548 | hci_conn_del_sysfs(conn); | 549 | hci_conn_del_sysfs(conn); |
549 | 550 | ||
551 | debugfs_remove_recursive(conn->debugfs); | ||
552 | |||
550 | if (test_bit(HCI_CONN_PARAM_REMOVAL_PEND, &conn->flags)) | 553 | if (test_bit(HCI_CONN_PARAM_REMOVAL_PEND, &conn->flags)) |
551 | hci_conn_params_del(conn->hdev, &conn->dst, conn->dst_type); | 554 | hci_conn_params_del(conn->hdev, &conn->dst, conn->dst_type); |
552 | 555 | ||