Bluetooth: Let HIDP grab the device reference for connections
[pandora-kernel.git] / net / bluetooth / hidp / hidp.h
index 343fb05..faf3d74 100644 (file)
@@ -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;
 
@@ -151,6 +153,8 @@ struct hidp_session {
 
        struct sk_buff_head ctrl_transmit;
        struct sk_buff_head intr_transmit;
+
+       struct hidp_connadd_req *req;
 };
 
 static inline void hidp_schedule(struct hidp_session *session)