Commit f5dbb077 authored by Mat Martineau's avatar Mat Martineau Committed by Johan Hedberg

Bluetooth: Remove receive code that has been superceded

This deletes the receive code that had handlers for each frame type at
the top level, and then had logic to determine the receive state
within each handler.
Signed-off-by: default avatarMat Martineau <mathewm@codeaurora.org>
Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
parent 4b51dae9
...@@ -419,11 +419,6 @@ struct l2cap_seq_list { ...@@ -419,11 +419,6 @@ struct l2cap_seq_list {
#define L2CAP_SEQ_LIST_CLEAR 0xFFFF #define L2CAP_SEQ_LIST_CLEAR 0xFFFF
#define L2CAP_SEQ_LIST_TAIL 0x8000 #define L2CAP_SEQ_LIST_TAIL 0x8000
struct srej_list {
__u16 tx_seq;
struct list_head list;
};
struct l2cap_chan { struct l2cap_chan {
struct sock *sk; struct sock *sk;
...@@ -475,14 +470,12 @@ struct l2cap_chan { ...@@ -475,14 +470,12 @@ struct l2cap_chan {
__u16 expected_ack_seq; __u16 expected_ack_seq;
__u16 expected_tx_seq; __u16 expected_tx_seq;
__u16 buffer_seq; __u16 buffer_seq;
__u16 buffer_seq_srej;
__u16 srej_save_reqseq; __u16 srej_save_reqseq;
__u16 last_acked_seq; __u16 last_acked_seq;
__u16 frames_sent; __u16 frames_sent;
__u16 unacked_frames; __u16 unacked_frames;
__u8 retry_count; __u8 retry_count;
__u16 srej_queue_next; __u16 srej_queue_next;
__u8 num_acked;
__u16 sdu_len; __u16 sdu_len;
struct sk_buff *sdu; struct sk_buff *sdu;
struct sk_buff *sdu_last_frag; struct sk_buff *sdu_last_frag;
...@@ -515,7 +508,6 @@ struct l2cap_chan { ...@@ -515,7 +508,6 @@ struct l2cap_chan {
struct sk_buff_head srej_q; struct sk_buff_head srej_q;
struct l2cap_seq_list srej_list; struct l2cap_seq_list srej_list;
struct l2cap_seq_list retrans_list; struct l2cap_seq_list retrans_list;
struct list_head srej_l;
struct list_head list; struct list_head list;
struct list_head global_l; struct list_head global_l;
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment