]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix L2CAP channel closing for LE connections
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 14 May 2013 19:46:01 +0000 (22:46 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Dec 2013 15:05:33 +0000 (07:05 -0800)
commit9e4b737bc88113ceda278f9ee1a8ee9cba2256cc
treeba525be0868bb825e829524d219dcdf4027a1a60
parent3407a24040fc1dd426247697d1b3fb45e8f13d42
Bluetooth: Fix L2CAP channel closing for LE connections

Sending of the L2CAP Disconnect request should also be performed for LE
based channels. The proper thing to do is therefore to look at whether
there's a PSM specified for the channel instead of looking at the link
type.

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