linux/net/bluetooth
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
..
bnep Bluetooth: Use kernel int types instead of ones from stdint.h 2012-02-27 12:34:39 +02:00
cmtp Bluetooth: Use kernel int types instead of ones from stdint.h 2012-02-27 12:34:39 +02:00
hidp Bluetooth: Use kernel int types instead of ones from stdint.h 2012-02-27 12:34:39 +02:00
rfcomm Bluetooth: Fix RFCOMM session reference counting issue 2012-02-13 17:01:31 +02:00
Kconfig Bluetooth: Fix Kconfig help description 2012-02-29 18:50:25 +02:00
Makefile Bluetooth: Always compile SCO and L2CAP in Bluetooth Core 2011-12-21 02:21:08 -02:00
af_bluetooth.c Bluetooth: silence lockdep warning 2012-02-13 17:01:29 +02:00
hci_conn.c Bluetooth: Fix two minor style issues in HCI code 2012-02-23 13:06:58 +02:00
hci_core.c Bluetooth: Don't force DISCOVERY_STOPPED state in inquiry_cache_flush 2012-03-03 01:43:02 +02:00
hci_event.c Bluetooth: mgmt: Fix updating local name when powering on 2012-03-03 01:28:47 +02:00
hci_sock.c Bluetooth: Remove HCI_PI_MGMT_INIT flag for sockets 2012-03-03 01:28:47 +02:00
hci_sysfs.c Bluetooth: Use proper datatypes in release-callbacks 2012-02-13 17:01:38 +02:00
l2cap_core.c Bluetooth: Update L2CAP timeout constants to use msecs_to_jiffies 2012-03-02 00:33:14 +02:00
l2cap_sock.c Bluetooth: Update L2CAP timeout constants to use msecs_to_jiffies 2012-03-02 00:33:14 +02:00
lib.c Bluetooth: Add logging functions bt_info and bt_err 2012-02-17 11:33:17 +02:00
mgmt.c Bluetooth: mgmt: Fix updating local name when powering on 2012-03-03 01:28:47 +02:00
sco.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-next 2012-01-10 15:44:17 -05:00
smp.c Bluetooth: Update MGMT and SMP timeout constants to use msecs_to_jiffies 2012-03-02 00:35:57 +02:00