]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix ERTM L2CAP resend packet
authorLukasz Rymanowski <lukasz.rymanowski@tieto.com>
Thu, 14 Aug 2014 07:35:34 +0000 (09:35 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 14 Aug 2014 07:47:02 +0000 (09:47 +0200)
commita0519918a51e60491a387e93bed969446014e92a
tree01fd55d3acafa9d6401b50d787fbebea1e951759
parent45a9fd23849c4032c9837a9eacc7db17c1632922
Bluetooth: Fix ERTM L2CAP resend packet

I-Frame which is going to be resend already has FCS field added and set
(if it was required). Adding additional FCS field calculated from data +
old FCS in resend function is incorrect. This patch fix that.

Issue has been found during PTS testing.

Signed-off-by: Lukasz Rymanowski <lukasz.rymanowski@tieto.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c