]> 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)
commit380001fb6daccadc2d393770d661b7781816c42e
tree1c56a49a58982481ad89cb0daedd2c6e7e1259a7
parent46657e927c7cc7173ee04ecf6035d6445d63574e
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