aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/l2cap.c
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2010-05-01 15:15:40 -0400
committerMarcel Holtmann <marcel@holtmann.org>2010-05-10 03:28:49 -0400
commit855666cccc939d392316de17512e17a08b2fa05a (patch)
tree0adfe2ca41b7ef2ac332a82ef981b133049e3ce3 /net/bluetooth/l2cap.c
parent052897ca5019d9157ae09e5e84eee2a9ef5dccc6 (diff)
Bluetooth: Send Ack after clear the SREJ list
As specified by Bluetooth 3.0 spec we shall send an acknowledgment using the Send-Ack() after clear the SREJ list. Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi> Reviewed-by: João Paulo Rechi Vita <jprvita@profusion.mobi> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/l2cap.c')
-rw-r--r--net/bluetooth/l2cap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c
index e936913c921e..c6bc1b9ed657 100644
--- a/net/bluetooth/l2cap.c
+++ b/net/bluetooth/l2cap.c
@@ -3493,6 +3493,7 @@ static inline int l2cap_data_channel_iframe(struct sock *sk, u16 rx_control, str
3493 if (list_empty(SREJ_LIST(sk))) { 3493 if (list_empty(SREJ_LIST(sk))) {
3494 pi->buffer_seq = pi->buffer_seq_srej; 3494 pi->buffer_seq = pi->buffer_seq_srej;
3495 pi->conn_state &= ~L2CAP_CONN_SREJ_SENT; 3495 pi->conn_state &= ~L2CAP_CONN_SREJ_SENT;
3496 l2cap_send_ack(pi);
3496 } 3497 }
3497 } else { 3498 } else {
3498 struct srej_list *l; 3499 struct srej_list *l;