diff options
author | Andre Guedes <[email protected]> | 2012-03-01 18:19:57 -0300 |
---|---|---|
committer | Johan Hedberg <[email protected]> | 2012-03-03 01:43:02 +0200 |
commit | 74fe619ef96466d562a1a13e7cbab783624ec2f3 (patch) | |
tree | ecd5aab7e52b86eddf8ab2461a8a9a4dab1694f0 /net/lapb/lapb_subr.c | |
parent | 2b4bf3974249da74f4aef1e9180d4beaf6332515 (diff) |
Bluetooth: Don't force DISCOVERY_STOPPED state in inquiry_cache_flush
We are not supposed to force DISCOVERY_STOPPED in inquiry_cache_flush
because we may break the discovery state machine. For instance, during
interleaved discovery, when we are about to start inquiry, the state
machine forcibly goes to DISCOVERY_STOPPED while it should stay in
DISCOVERY_FINDING state.
This problem results in unexpected behaviors such as sending two
mgmt_discovering events to userspace (when only one event is expected)
and Stop Discovery failures.
Signed-off-by: Andre Guedes <[email protected]>
Signed-off-by: Johan Hedberg <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions