]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix LE L2CAP Connect Request handling together with SMP
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 2 Dec 2013 20:12:22 +0000 (22:12 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Dec 2013 15:05:35 +0000 (07:05 -0800)
commite8ae1d6ba33077ba70b0e7787e8ccd1600f180c3
tree1566788a0e2dd19630b02d6db5ebd5681c64034a
parentcb5ac152070fadf89f7f8beb07fa58244fb7941b
Bluetooth: Fix LE L2CAP Connect Request handling together with SMP

Unlike BR/EDR, for LE when we're in the BT_CONNECT state we may or may
not have already have sent the Connect Request. This means that we need
some extra tracking of the request. This patch adds an extra channel
flag to prevent the request from being sent a second time.

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