Bluetooth: Track LE L2CAP credits in l2cap_chan
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 17 May 2013 10:09:05 +0000 (13:09 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Dec 2013 15:05:34 +0000 (07:05 -0800)
commit0cd75f7ed740a8c605fe55ac71a9b5162c612422
treeb155f3faacfeeaf1f244405b26e5b2f1105b53a2
parent3831971355d901ccfb76533a422b4395072849a3
Bluetooth: Track LE L2CAP credits in l2cap_chan

This patch adds tracking of L2CAP connection oriented channel local and
remote credits to struct l2cap_chan and ensures that connect requests
and responses contain the right values.

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