]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix disconnecting L2CAP channel for credits violation
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 27 Jan 2014 23:11:34 +0000 (15:11 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 13 Feb 2014 07:51:38 +0000 (09:51 +0200)
commitfe14189c6ad3be7d373ff4ed98748ff7609307d2
tree5fde7fa03d6830b7e9d52fa40cceae0dd322edc0
parent8c59755287e4de4d743dccb5fdd9bf21d2e6d1f2
Bluetooth: Fix disconnecting L2CAP channel for credits violation

The L2CAP specification requires us to disconnect a channel if the
remote device sends us data when it doesn't have any credits to do so.
This patch makes sure that we send the appropriate L2CAP Disconnect
request in this situation.

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