Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256395
b: refs/heads/master
c: 02f1b64
h: refs/heads/master
i:
  256393: a3e7192
  256391: 7fdaec0
v: v3
  • Loading branch information
Mat Martineau authored and Gustavo F. Padovan committed Jul 1, 2011
1 parent 0b7fff1 commit b6c9918
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f8c1fbdb767f7487983b369a0b07ddc82b29f709
refs/heads/master: 02f1b641060486df8eecd66b060ae6551f398593
6 changes: 3 additions & 3 deletions trunk/net/bluetooth/l2cap_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -3522,9 +3522,6 @@ static inline int l2cap_data_channel_iframe(struct l2cap_chan *chan, u16 rx_cont
chan->expected_ack_seq = req_seq;
l2cap_drop_acked_frames(chan);

if (tx_seq == chan->expected_tx_seq)
goto expected;

tx_seq_offset = (tx_seq - chan->buffer_seq) % 64;
if (tx_seq_offset < 0)
tx_seq_offset += 64;
Expand All @@ -3538,6 +3535,9 @@ static inline int l2cap_data_channel_iframe(struct l2cap_chan *chan, u16 rx_cont
if (test_bit(CONN_LOCAL_BUSY, &chan->conn_state))
goto drop;

if (tx_seq == chan->expected_tx_seq)
goto expected;

if (test_bit(CONN_SREJ_SENT, &chan->conn_state)) {
struct srej_list *first;

Expand Down

0 comments on commit b6c9918

Please sign in to comment.