summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-12-20 17:13:41 +0100
committerJohan Hedberg <johan.hedberg@intel.com>2014-12-20 19:54:24 +0200
commit23b9ceb74f8e46bddd61a1e2afd9317221be74b7 (patch)
treea67aff498795bec4d8c9875954c4215871cb3b9b /include
parenta8e1bfaa55cf8ac4e419a09bdda5bb45bcd8f985 (diff)
downloadlinux-23b9ceb74f8e46bddd61a1e2afd9317221be74b7.tar.gz
linux-23b9ceb74f8e46bddd61a1e2afd9317221be74b7.tar.bz2
linux-23b9ceb74f8e46bddd61a1e2afd9317221be74b7.zip
Bluetooth: Create debugfs directory for each connection handle
For every internal representation of a Bluetooth connection which is identified by hci_conn, create a debugfs directory with the handle number as directory name. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/hci_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index f20f6bd668bd..3e7e5110f298 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -440,6 +440,7 @@ struct hci_conn {
struct delayed_work le_conn_timeout;
struct device dev;
+ struct dentry *debugfs;
struct hci_dev *hdev;
void *l2cap_data;