Bluetooth: Implement returning of LE L2CAP credits
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 5 Dec 2013 07:43:34 +0000 (09:43 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Dec 2013 15:05:34 +0000 (07:05 -0800)
commitb1c325c23d75c5e27607fdcc89bc9bf80af0ba9b
tree22a372709ad13b3d059ed3770df375b56bd5f86f
parent1f435424ce2c93c31c3887ec67e3afb6056f18f6
Bluetooth: Implement returning of LE L2CAP credits

We should return credits to the remote side whenever they fall below a
certain level (in our case under half of the initially given amount).

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