]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: EWS: rewrite handling SAR bits
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Tue, 11 Oct 2011 10:37:45 +0000 (13:37 +0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 13 Oct 2011 19:44:53 +0000 (16:44 -0300)
commita4dd349b6f88ce1a0daacc15bbb13a5182a4915d
tree1c56a49a58982481ad89cb0daedd2c6e7e1259a7
parent0488def8d260fa7d19b2af950d5c9071cf1a7aeb
Bluetooth: EWS: rewrite handling SAR bits

Segmentation and Reassembly (SAR) occupies different windows in standard and
extended control fields. Convert hardcoded masks to relative ones and use shift
to access SAR bits.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c