diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-08-22 14:22:15 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-08-22 14:22:15 -0700 |
commit | edad63886993d18ab800c49f6587a93432ef8b35 (patch) | |
tree | 3513335d25e260daed72ecc0bdf19b0fd8bdcac2 /net/bluetooth/hidp/hidp.h | |
parent | 9eba32b86d17ef87131fa0bce43c614904ab5781 (diff) | |
download | talos-op-linux-edad63886993d18ab800c49f6587a93432ef8b35.tar.gz talos-op-linux-edad63886993d18ab800c49f6587a93432ef8b35.zip |
Bluetooth: Let HIDP grab the device reference for connections
The core exports the hci_conn_hold_device() and hci_conn_put_device()
functions for device reference of connections. Use this to ensure that
the uevents from the parent are send after the child ones.
Based on a report by Brian Rogers <brian@xyzw.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hidp/hidp.h')
-rw-r--r-- | net/bluetooth/hidp/hidp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bluetooth/hidp/hidp.h b/net/bluetooth/hidp/hidp.h index e503c89057ad..faf3d74c3586 100644 --- a/net/bluetooth/hidp/hidp.h +++ b/net/bluetooth/hidp/hidp.h @@ -126,6 +126,8 @@ int hidp_get_conninfo(struct hidp_conninfo *ci); struct hidp_session { struct list_head list; + struct hci_conn *conn; + struct socket *ctrl_sock; struct socket *intr_sock; |