Bluetooth: Consolidate common receive code for ERTM and streaming mode
authorMat Martineau <mathewm@codeaurora.org>
Fri, 18 May 2012 03:53:36 +0000 (20:53 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 5 Jun 2012 03:34:03 +0000 (06:34 +0300)
commitcec8ab6e20a7fbdc056894ff7b3fbdbc2a82a563
treeaebae7b22e15c0f8485c22fe7cf34ed872a4e54e
parenta67d7f6fca776317bb478c96f25196972c05d173
Bluetooth: Consolidate common receive code for ERTM and streaming mode

Creates a new l2cap_data_rcv function that combines previous code from
l2cap_ertm_data_rcv and l2cap_data_channel.  This reduces duplicate
code for streaming mode, and sets up a framework for the ERTM receive
state machine.

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