Bluetooth: Fix race condition with L2CAP information request
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 6 Feb 2009 22:35:19 +0000 (23:35 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 27 Feb 2009 05:14:41 +0000 (06:14 +0100)
commit984947dc64f82bc6cafa4d84ba1a139718f634a8
treef85e4b260034f5b5a20af7a63900ee7de06fa7ad
parent657e17b03c80bec817975984d221bef716f83558
Bluetooth: Fix race condition with L2CAP information request

When two L2CAP connections are requested quickly after the ACL link has
been established there exists a window for a race condition where a
connection request is sent before the information response has been
received. Any connection request should only be sent after an exchange
of the extended features mask has been finished.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap.c