Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290873
b: refs/heads/master
c: 0ef3ef0
h: refs/heads/master
i:
  290871: 22694fe
v: v3
  • Loading branch information
Szymon Janc authored and Johan Hedberg committed Feb 13, 2012
1 parent eceb28c commit e7f3262
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: 75b93b59ad625d734b1c7d7e05bf6b9898c8c28f
refs/heads/master: 0ef3ef0f676e3c7aaab4a936635f503770fd38b2
6 changes: 3 additions & 3 deletions trunk/net/bluetooth/l2cap_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -3927,15 +3927,15 @@ static inline int l2cap_data_channel_iframe(struct l2cap_chan *chan, u32 rx_cont
__skb_queue_head_init(&chan->srej_q);
l2cap_add_to_srej_queue(chan, skb, tx_seq, sar);

set_bit(CONN_SEND_PBIT, &chan->conn_state);
/* Set P-bit only if there are some I-frames to ack. */
if (__clear_ack_timer(chan))
set_bit(CONN_SEND_PBIT, &chan->conn_state);

err = l2cap_send_srejframe(chan, tx_seq);
if (err < 0) {
l2cap_send_disconn_req(chan->conn, chan, -err);
return err;
}

__clear_ack_timer(chan);
}
return 0;

Expand Down

0 comments on commit e7f3262

Please sign in to comment.