Bluetooth: Implement LE L2CAP reassembly
authorJohan Hedberg <johan.hedberg@intel.com>
Sat, 1 Jun 2013 07:14:57 +0000 (10:14 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Dec 2013 15:05:35 +0000 (07:05 -0800)
commitaac23bf636593cc2d67144aed373a46a1a5f76b1
tree2aa549d8f8cf27b9ab9f693b6d4a6f65c54538fe
parent177f8f2b1259a1292a09a1b7563ebb90675f88ff
Bluetooth: Implement LE L2CAP reassembly

When receiving fragments over an LE Connection oriented Channel they
need to be collected up and eventually merged into a single SDU. This
patch adds the necessary code for collecting up the fragment skbs to the
channel context and passing them to the recv() callback when the entire
SDU has been received.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c