Bluetooth: L2CAP: Add l2cap_le_flowctl_send
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 11 Apr 2017 19:21:01 +0000 (22:21 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 12 Apr 2017 20:02:41 +0000 (22:02 +0200)
commit8a505b7f39f7fb2d3a2b25bfaa2f18d2ce010eef
tree0f3c0b64543bafc74b3a8b1a892391eded777754
parentf183e52b8ef3d62c795b0fe2228400ac48f6cae6
Bluetooth: L2CAP: Add l2cap_le_flowctl_send

Consolidate code sending data to LE CoC channels and adds proper
accounting of packets sent, the remaining credits and how many packets
are queued.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c