Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203841
b: refs/heads/master
c: 2ece368
h: refs/heads/master
i:
  203839: 43b93b5
v: v3
  • Loading branch information
Gustavo F. Padovan authored and Marcel Holtmann committed Jul 21, 2010
1 parent 6ec84bd commit a563128
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 7fe9b298c98fdfecf3b0efb4c971b7696d091ae9
refs/heads/master: 2ece3684b4037ad2394de795d67abbe412ab5e2f
8 changes: 4 additions & 4 deletions trunk/net/bluetooth/l2cap.c
Original file line number Diff line number Diff line change
Expand Up @@ -3931,17 +3931,17 @@ static inline int l2cap_data_channel_iframe(struct sock *sk, u16 rx_control, str
return 0;
}

err = l2cap_push_rx_skb(sk, skb, rx_control);
if (err < 0)
return 0;

if (rx_control & L2CAP_CTRL_FINAL) {
if (pi->conn_state & L2CAP_CONN_REJ_ACT)
pi->conn_state &= ~L2CAP_CONN_REJ_ACT;
else
l2cap_retransmit_frames(sk);
}

err = l2cap_push_rx_skb(sk, skb, rx_control);
if (err < 0)
return 0;

__mod_ack_timer();

pi->num_acked = (pi->num_acked + 1) % num_to_ack;
Expand Down

0 comments on commit a563128

Please sign in to comment.