Bluetooth: Get a more accurate L2CAP PDU len
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 25 May 2012 21:57:05 +0000 (18:57 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 5 Jun 2012 03:34:09 +0000 (06:34 +0300)
commit35d401df3db4cb7a0403b42641bbf5694e64d374
tree0a036d2915c8cc27aa5000259c2109a8730a8cd9
parent523e93cdb39086b25af2ed19d2a69248510727a2
Bluetooth: Get a more accurate L2CAP PDU len

Both FCS and Extended header might be or might not be present in a ERTM
channel.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Reviewed-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c