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)
commit1c7621596d11b9c3e19eb88a818758dee4901c95
tree7eccf73c1739964e83cbc7ea5bce53fd4372a07c
parent7b1c0049be3aabc18831ada339dbcf41ba8c81fd
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