diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-04-06 14:28:47 -0400 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-04-17 02:03:55 -0400 |
commit | 5205185d461d5902325e457ca80bd421127b7308 (patch) | |
tree | 9344c3d0c1f3647852e2db772583dfc5e467c484 /net/bluetooth/hidp/hidp.h | |
parent | b4f34d8d9d26b2428fa7cf7c8f97690a297978e6 (diff) |
Bluetooth: hidp: remove old session-management
We have the full new session-management now available so lets switch over
and remove all the old code. Few semantics changed, so we need to adjust
the sock.c callers a bit. But this mostly simplifies the logic.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/bluetooth/hidp/hidp.h')
-rw-r--r-- | net/bluetooth/hidp/hidp.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/bluetooth/hidp/hidp.h b/net/bluetooth/hidp/hidp.h index c4fb980c2434..6162ce8606ac 100644 --- a/net/bluetooth/hidp/hidp.h +++ b/net/bluetooth/hidp/hidp.h | |||
@@ -123,8 +123,6 @@ struct hidp_connlist_req { | |||
123 | 123 | ||
124 | int hidp_connection_add(struct hidp_connadd_req *req, struct socket *ctrl_sock, struct socket *intr_sock); | 124 | int hidp_connection_add(struct hidp_connadd_req *req, struct socket *ctrl_sock, struct socket *intr_sock); |
125 | int hidp_connection_del(struct hidp_conndel_req *req); | 125 | int hidp_connection_del(struct hidp_conndel_req *req); |
126 | int hidp_add_connection(struct hidp_connadd_req *req, struct socket *ctrl_sock, struct socket *intr_sock); | ||
127 | int hidp_del_connection(struct hidp_conndel_req *req); | ||
128 | int hidp_get_connlist(struct hidp_connlist_req *req); | 126 | int hidp_get_connlist(struct hidp_connlist_req *req); |
129 | int hidp_get_conninfo(struct hidp_conninfo *ci); | 127 | int hidp_get_conninfo(struct hidp_conninfo *ci); |
130 | 128 | ||
@@ -147,7 +145,6 @@ struct hidp_session { | |||
147 | 145 | ||
148 | /* connection management */ | 146 | /* connection management */ |
149 | bdaddr_t bdaddr; | 147 | bdaddr_t bdaddr; |
150 | struct hci_conn *hconn; | ||
151 | struct l2cap_conn *conn; | 148 | struct l2cap_conn *conn; |
152 | struct l2cap_user user; | 149 | struct l2cap_user user; |
153 | struct socket *ctrl_sock; | 150 | struct socket *ctrl_sock; |
@@ -180,9 +177,6 @@ struct hidp_session { | |||
180 | 177 | ||
181 | /* Used in hidp_output_raw_report() */ | 178 | /* Used in hidp_output_raw_report() */ |
182 | int output_report_success; /* boolean */ | 179 | int output_report_success; /* boolean */ |
183 | |||
184 | wait_queue_head_t startup_queue; | ||
185 | int waiting_for_startup; | ||
186 | }; | 180 | }; |
187 | 181 | ||
188 | /* HIDP init defines */ | 182 | /* HIDP init defines */ |