Bluetooth: Fix handling of L2CAP Command Reject over LE
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 10 Dec 2013 08:52:48 +0000 (10:52 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 10 Dec 2013 09:15:44 +0000 (01:15 -0800)
commit71fb419724fadab4efdf98210aa3fe053bd81d29
treebea18a28f16b8e66904ab4a1b1108c00e7f2044c
parent53b834d2333aec1e60fcbfadfddd4ad472329570
Bluetooth: Fix handling of L2CAP Command Reject over LE

If we receive an L2CAP command reject message over LE we should take
appropriate action on the corresponding channel. This is particularly
important when trying to interact with a remote pre-4.1 system using LE
CoC signaling messages. If we don't react to the command reject the
corresponding socket would not be notified until a connection timeout
occurs.

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