Bluetooth: Fix ACL MTU issue
authorGustavo F. Padovan <padovan@profusion.mobi>
Sat, 1 May 2010 19:15:36 +0000 (16:15 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 10 May 2010 07:28:46 +0000 (09:28 +0200)
commitd1daa091e8612f3aab14d28b5836375fafe155e1
tree5947832185fe76f7b6a0ff3471b36f16a86fc0e5
parent7dffe4210233a2860c3f41477c40b3252edf2b7d
Bluetooth: Fix ACL MTU issue

ERTM and Streaming Modes was having problems when the ACL MTU is lower
than MPS. The 'minus 10' is to take in account the header and fcs
lenghts.

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