]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix bug when retransmitting I-frames
authorGustavo F. Padovan <padovan@profusion.mobi>
Sat, 1 May 2010 19:15:41 +0000 (16:15 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 10 May 2010 07:28:50 +0000 (09:28 +0200)
commitb39a0711cfc8c5ce6be3fd191e74ec91e3b7612c
tree16665dc866c3fadbed7462b73cb4efe7f2c340b6
parent73aecc446c9659055949a73c6b21f28b35ec0e91
Bluetooth: Fix bug when retransmitting I-frames

If there is no frames to retransmit l2cap was crashing the kernel, now
we check if the queue is empty first.

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>
net/bluetooth/l2cap.c