Bluetooth: Remove unneeded elements from size calculation
authorGustavo Padovan <gustavo@padovan.org>
Wed, 2 May 2012 14:56:17 +0000 (11:56 -0300)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 9 May 2012 04:40:50 +0000 (01:40 -0300)
commit6ff9b5ef5e4e3f474689737640d0c01a96d0696d
tree329cbffb6a5f5f18247355963079dc4fe725df12
parente10b9969f217c948c5523045f44eba4d3a758ff0
Bluetooth: Remove unneeded elements from size calculation

hlen - L2CAP_HDR_SIZE = 0, so we don't need to add them in the
calculation.

Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/l2cap_core.c