Andre Guedes 74fe619ef9 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 <andre.guedes@openbossa.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2012-03-03 01:43:02 +02:00
..
2011-12-14 02:39:30 -05:00
2011-12-16 15:07:28 -05:00
2011-03-17 11:59:32 +11:00
2011-12-11 18:25:16 -05:00
2011-09-16 19:20:20 -04:00
2011-12-16 15:49:52 -05:00
2010-10-15 15:53:27 +02:00