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)
commitcea04ce35eb3e2e53e7c7bb8ebe9c10312f79b84
treeba525be0868bb825e829524d219dcdf4027a1a60
parent27e2d4c8d28be1d1b4ecfbffab572d7dbd35254d
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