diff options
-rw-r--r-- | include/net/bluetooth/hci_core.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 7ee921d78a94..d5d8454236bf 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
@@ -199,37 +199,37 @@ struct hci_dev { | |||
199 | struct hci_conn { | 199 | struct hci_conn { |
200 | struct list_head list; | 200 | struct list_head list; |
201 | 201 | ||
202 | atomic_t refcnt; | 202 | atomic_t refcnt; |
203 | spinlock_t lock; | 203 | spinlock_t lock; |
204 | 204 | ||
205 | bdaddr_t dst; | 205 | bdaddr_t dst; |
206 | __u16 handle; | 206 | __u16 handle; |
207 | __u16 state; | 207 | __u16 state; |
208 | __u8 mode; | 208 | __u8 mode; |
209 | __u8 type; | 209 | __u8 type; |
210 | __u8 out; | 210 | __u8 out; |
211 | __u8 attempt; | 211 | __u8 attempt; |
212 | __u8 dev_class[3]; | 212 | __u8 dev_class[3]; |
213 | __u8 features[8]; | 213 | __u8 features[8]; |
214 | __u8 ssp_mode; | 214 | __u8 ssp_mode; |
215 | __u16 interval; | 215 | __u16 interval; |
216 | __u16 pkt_type; | 216 | __u16 pkt_type; |
217 | __u16 link_policy; | 217 | __u16 link_policy; |
218 | __u32 link_mode; | 218 | __u32 link_mode; |
219 | __u8 auth_type; | 219 | __u8 auth_type; |
220 | __u8 sec_level; | 220 | __u8 sec_level; |
221 | __u8 pending_sec_level; | 221 | __u8 pending_sec_level; |
222 | __u8 pin_length; | 222 | __u8 pin_length; |
223 | __u8 io_capability; | 223 | __u8 io_capability; |
224 | __u8 power_save; | 224 | __u8 power_save; |
225 | __u16 disc_timeout; | 225 | __u16 disc_timeout; |
226 | unsigned long pend; | 226 | unsigned long pend; |
227 | 227 | ||
228 | __u8 remote_cap; | 228 | __u8 remote_cap; |
229 | __u8 remote_oob; | 229 | __u8 remote_oob; |
230 | __u8 remote_auth; | 230 | __u8 remote_auth; |
231 | 231 | ||
232 | unsigned int sent; | 232 | unsigned int sent; |
233 | 233 | ||
234 | struct sk_buff_head data_q; | 234 | struct sk_buff_head data_q; |
235 | 235 | ||
@@ -347,7 +347,7 @@ static inline void hci_conn_hash_del(struct hci_dev *hdev, struct hci_conn *c) | |||
347 | } | 347 | } |
348 | 348 | ||
349 | static inline struct hci_conn *hci_conn_hash_lookup_handle(struct hci_dev *hdev, | 349 | static inline struct hci_conn *hci_conn_hash_lookup_handle(struct hci_dev *hdev, |
350 | __u16 handle) | 350 | __u16 handle) |
351 | { | 351 | { |
352 | struct hci_conn_hash *h = &hdev->conn_hash; | 352 | struct hci_conn_hash *h = &hdev->conn_hash; |
353 | struct list_head *p; | 353 | struct list_head *p; |
@@ -362,7 +362,7 @@ static inline struct hci_conn *hci_conn_hash_lookup_handle(struct hci_dev *hdev, | |||
362 | } | 362 | } |
363 | 363 | ||
364 | static inline struct hci_conn *hci_conn_hash_lookup_ba(struct hci_dev *hdev, | 364 | static inline struct hci_conn *hci_conn_hash_lookup_ba(struct hci_dev *hdev, |
365 | __u8 type, bdaddr_t *ba) | 365 | __u8 type, bdaddr_t *ba) |
366 | { | 366 | { |
367 | struct hci_conn_hash *h = &hdev->conn_hash; | 367 | struct hci_conn_hash *h = &hdev->conn_hash; |
368 | struct list_head *p; | 368 | struct list_head *p; |
@@ -377,7 +377,7 @@ static inline struct hci_conn *hci_conn_hash_lookup_ba(struct hci_dev *hdev, | |||
377 | } | 377 | } |
378 | 378 | ||
379 | static inline struct hci_conn *hci_conn_hash_lookup_state(struct hci_dev *hdev, | 379 | static inline struct hci_conn *hci_conn_hash_lookup_state(struct hci_dev *hdev, |
380 | __u8 type, __u16 state) | 380 | __u8 type, __u16 state) |
381 | { | 381 | { |
382 | struct hci_conn_hash *h = &hdev->conn_hash; | 382 | struct hci_conn_hash *h = &hdev->conn_hash; |
383 | struct list_head *p; | 383 | struct list_head *p; |