]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix configuration of the MPS value
authorGustavo F. Padovan <padovan@profusion.mobi>
Sat, 1 May 2010 19:15:40 +0000 (16:15 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 10 May 2010 07:28:48 +0000 (09:28 +0200)
commit06f8b148b23448942b17dccf051b655cbe135e41
tree7eccf73c1739964e83cbc7ea5bce53fd4372a07c
parent2d556f9701da7cd6914590eb18dfe88122d48381
Bluetooth: Fix configuration of the MPS value

We were accepting values bigger than we can accept. This was leading
ERTM to drop packets because of wrong FCS checks.

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