]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Create function to return the ERTM header size
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Tue, 29 May 2012 16:29:16 +0000 (13:29 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 5 Jun 2012 03:34:15 +0000 (06:34 +0300)
commitf457b227793d1fc5b3aa7e590f2a39088bf02d31
tree8dbe36cb7a5b13c108ed31d57e93b41906e5215c
parent20c1e9a3af0fa621a2879c68318c84fefb62e137
Bluetooth: Create function to return the ERTM header size

Simplify the handling of different ERTM header size. We were the same
check in some places of the code, and more is expected to come, so just
replace them with a function.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Acked-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/l2cap_core.c