summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btusb.c
diff options
context:
space:
mode:
authorAndre Guedes2012-03-01 22:19:57 +0100
committerJohan Hedberg2012-03-03 00:43:02 +0100
commit74fe619ef96466d562a1a13e7cbab783624ec2f3 (patch)
treeecd5aab7e52b86eddf8ab2461a8a9a4dab1694f0 /drivers/bluetooth/btusb.c
parentBluetooth: mgmt: Fix updating local name when powering on (diff)
downloadkernel-qcow2-linux-74fe619ef96466d562a1a13e7cbab783624ec2f3.tar.gz
kernel-qcow2-linux-74fe619ef96466d562a1a13e7cbab783624ec2f3.tar.xz
kernel-qcow2-linux-74fe619ef96466d562a1a13e7cbab783624ec2f3.zip
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>
Diffstat (limited to 'drivers/bluetooth/btusb.c')
0 files changed, 0 insertions, 0 deletions