Bluetooth: EWS: recalculate L2CAP header size
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Tue, 11 Oct 2011 10:37:52 +0000 (13:37 +0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 13 Oct 2011 19:50:14 +0000 (16:50 -0300)
commite4ca6d9854dc252e294007fc91249ce34d9a82e8
tree7fb26dbe1312aab0c38811ef695482f033d5995f
parente37817353bf94a4e00faad78ffb8cc07f8556252
Bluetooth: EWS: recalculate L2CAP header size

Recalculate length of L2CAP header based on Control field length.

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