]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7c8069271acb2a3b81fe134df1cb7ab8a00cac73
tree329cbffb6a5f5f18247355963079dc4fe725df12
parentb0ef186c9c43fdc3ee5f48a70fa15f1897492b88
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