diff options
author | Andrei Emeltchenko | 2010-07-08 12:14:41 +0300 |
---|---|---|
committer | Marcel Holtmann | 2010-07-08 20:35:23 -0300 |
commit | e501d0553a7580fcc6654d7f58a5f061d31d00af (patch) | |
tree | 8f1489e92272e18cc5c222283bcbeccfe7bcecd2 /net/wimax/debug-levels.h | |
parent | 33b665eeeb85956ccbdf31c4c31a4e2a31133c44 (diff) |
Bluetooth: Check L2CAP pending status before sending connect request
Due to race condition in L2CAP state machine L2CAP Connection Request
may be sent twice for SDP with the same source channel id. Problems
reported connecting to Apple products, some carkit, Blackberry phones.
...
2010-06-07 21:18:03.651031 < ACL data: handle 1 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 1 scid 0x0040
2010-06-07 21:18:03.653473 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
2010-06-07 21:18:03.653808 > HCI Event: Auth Complete (0x06) plen 3
status 0x00 handle 1
2010-06-07 21:18:03.653869 < ACL data: handle 1 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 1 scid 0x0040
...
Patch uses L2CAP_CONF_CONNECT_PEND flag to mark that L2CAP Connection
Request has been sent already.
Modified version of patch from Ville Tervo.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@nokia.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/wimax/debug-levels.h')
0 files changed, 0 insertions, 0 deletions