diff options
author | Johan Hedberg <[email protected]> | 2014-07-07 13:24:59 +0300 |
---|---|---|
committer | Marcel Holtmann <[email protected]> | 2014-07-07 12:36:39 +0200 |
commit | ae23ada43d7d644e563a23d4c2cd2aa828be1431 (patch) | |
tree | c1d981152a491ad211762b41e61196693258c40a /tools/perf/scripts/python/net_dropmonitor.py | |
parent | bb3e0a336ae683332c1282d1e84b371b65aba1b4 (diff) |
Bluetooth: Don't let background scanning interfering with discovery
If we have an active discovery going on we shouldn't do any changes to
LE scanning when hci_update_background_scan() is called (a call which
can happen for many different reasons). This patch fixes the issue by
returning from the function if the discovery state is anything else
except DISCOVERY_STOPPED.
Signed-off-by: Johan Hedberg <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions