diff options
author | Sven Gothel <[email protected]> | 2020-06-24 23:29:40 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-06-24 23:29:40 +0200 |
commit | 8693aa160c4c4f7b72c34c99e7550a224a856644 (patch) | |
tree | 838af3484bc253279bb2140468a6cd1e3617b7f5 /api | |
parent | bb5e23e940be93b10f983a97c6b3ffb04ea6d729 (diff) |
L2CAPComm: connect/disconnect: Don't fail if connect and _dd doesn't match -> intended
It is intended to allow e.g. disconnect from multiple threads at the 'same time',
hence we utilize the 'atomic<bool> connect' to bail out early if already called.
In this case and if _dd (l2cap device descriptor) is still valid,
a concurrent thread is still about to close the _dd.
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions