]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Refactor l2cap_ertm_send
authorMat Martineau <mathewm@codeaurora.org>
Fri, 18 May 2012 03:53:34 +0000 (20:53 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 5 Jun 2012 03:34:02 +0000 (06:34 +0300)
commitb8eea92399fa6094afd759a18e25ad156eda3d7a
tree8ba776cf162896dab0163389d1efad6ad3b235b2
parent3e06365dc11b1a2b57b18b4efec1dbb9c9ded61f
Bluetooth: Refactor l2cap_ertm_send

The new implementation is aware of the new transmit state machine, and
uses struct l2cap_ctrl to compose ERTM headers.  It also has improved
error handling for allocation failures, and does not send the packet
until after all skb and channel data structures are updated.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/l2cap_core.c