diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-07-08 15:07:53 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-07-08 14:22:06 +0200 |
commit | e8bb6b9739e2e80e0e413f56816af3871388cfe8 (patch) | |
tree | 19cd939c436586fc2857a0160dc0e655c1e435e6 /net/rxrpc | |
parent | 376f54c171674ac1f9a2eefe67d413db4836d25a (diff) | |
download | lwn-e8bb6b9739e2e80e0e413f56816af3871388cfe8.tar.gz lwn-e8bb6b9739e2e80e0e413f56816af3871388cfe8.zip |
Bluetooth: Fix advertising and active scanning co-existence
Many controllers allow simultaneous active scanning and advertising
(e.g. Intel and Broadcom) but some do not (e.g. CSR). It's therefore
safest to implement mutual exclusion of these states in the kernel.
This patch ensures that the two states are never entered simultaneously.
Extra precaution needs to be taken for outgoing connection attempts in
slave role (i.e. through directed advertising) in which case the
operation that came first has precedence and the one that comes after
gets a rejection.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/rxrpc')
0 files changed, 0 insertions, 0 deletions