diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-03-25 19:36:10 -0400 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-04-07 17:06:27 -0400 |
commit | f1c6775be6fc944e32e0150305d9753b9a846519 (patch) | |
tree | 6e860c375073aaae189231fd5eff9c27b315ea7e /include/net/bluetooth | |
parent | e92c8e70faf5e3cc22979daba2a895359aa1eab2 (diff) |
Bluetooth: Move srej and busy queues to struct l2cap_chan
As part of the moving channel stuff to l2cap_chan.
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index 5f4abea313a2..09f4a2fc2e20 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h | |||
@@ -309,6 +309,8 @@ struct l2cap_chan { | |||
309 | struct timer_list retrans_timer; | 309 | struct timer_list retrans_timer; |
310 | struct timer_list monitor_timer; | 310 | struct timer_list monitor_timer; |
311 | struct timer_list ack_timer; | 311 | struct timer_list ack_timer; |
312 | struct sk_buff_head srej_q; | ||
313 | struct sk_buff_head busy_q; | ||
312 | 314 | ||
313 | struct list_head list; | 315 | struct list_head list; |
314 | }; | 316 | }; |
@@ -347,8 +349,6 @@ struct l2cap_conn { | |||
347 | /* ----- L2CAP socket info ----- */ | 349 | /* ----- L2CAP socket info ----- */ |
348 | #define l2cap_pi(sk) ((struct l2cap_pinfo *) sk) | 350 | #define l2cap_pi(sk) ((struct l2cap_pinfo *) sk) |
349 | #define TX_QUEUE(sk) (&l2cap_pi(sk)->tx_queue) | 351 | #define TX_QUEUE(sk) (&l2cap_pi(sk)->tx_queue) |
350 | #define SREJ_QUEUE(sk) (&l2cap_pi(sk)->srej_queue) | ||
351 | #define BUSY_QUEUE(sk) (&l2cap_pi(sk)->busy_queue) | ||
352 | #define SREJ_LIST(sk) (&l2cap_pi(sk)->srej_l.list) | 352 | #define SREJ_LIST(sk) (&l2cap_pi(sk)->srej_l.list) |
353 | 353 | ||
354 | struct srej_list { | 354 | struct srej_list { |
@@ -384,8 +384,6 @@ struct l2cap_pinfo { | |||
384 | __le16 sport; | 384 | __le16 sport; |
385 | 385 | ||
386 | struct sk_buff_head tx_queue; | 386 | struct sk_buff_head tx_queue; |
387 | struct sk_buff_head srej_queue; | ||
388 | struct sk_buff_head busy_queue; | ||
389 | struct work_struct busy_work; | 387 | struct work_struct busy_work; |
390 | struct srej_list srej_l; | 388 | struct srej_list srej_l; |
391 | struct l2cap_conn *conn; | 389 | struct l2cap_conn *conn; |