diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2013-04-29 20:35:37 +0400 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-06-23 03:23:47 +0400 |
commit | 141d57065afd11977c4d346f64b25350445bf689 (patch) | |
tree | c33d9f462442a3916c7bdb270975836c5be71d33 /arch | |
parent | f224ca5fc207a9957164e6f42ec6766da0f55d54 (diff) | |
download | linux-141d57065afd11977c4d346f64b25350445bf689.tar.xz |
Bluetooth: Fix EBUSY condition test in l2cap_chan_connect
The current test in l2cap_chan_connect is intended to protect against
multiple conflicting connect attempts. However, it assumes that there
will ever only be a single CID that is connected to, which is not true.
We do need to check for conflicts with connect attempts to the same
destination CID but this check is not in anyway specific to LE but can
be applied to BR/EDR as well.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions