Bluetooth: Ignore BR/EDR packet size constraints when fragmenting for AMP
authorMat Martineau <mathewm@codeaurora.org>
Tue, 23 Oct 2012 22:24:21 +0000 (15:24 -0700)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 24 Oct 2012 02:25:50 +0000 (00:25 -0200)
commita549574da39f0a6df68ffdb72dd015d04a8486de
tree337d782429480806fa91ce6b1fd587fa6189ff9d
parent36c86c8566cec67924ae6f372d9066cc9e92ad0e
Bluetooth: Ignore BR/EDR packet size constraints when fragmenting for AMP

When operating over BR/EDR, ERTM accounts for the maximum over-the-air
packet size when setting the PDU size.  AMP controllers do not use the
same over-the-air packets, so the PDU size should only be based on the
HCI MTU of the AMP controller.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/l2cap_core.c