]> git.karo-electronics.de Git - mv-sheeva.git/commit
Bluetooth: Fix event sending with DISCOVERY_STOPPED state
authorAndre Guedes <andre.guedes@openbossa.org>
Mon, 13 Feb 2012 18:41:02 +0000 (15:41 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 15 Feb 2012 13:23:36 +0000 (15:23 +0200)
commit7b99b659d90c5d421cb1867295c78a4c0c030734
tree44533b3e9e43b4582d1ca3424e89dec1c7f8bf3c
parent203159d486006a18fa1ccf787a10d15d3128cdac
Bluetooth: Fix event sending with DISCOVERY_STOPPED state

We are not supposed to send mgmt_discovering events if we are transiting
from DISCOVERY_STARTING to DISCOVERY_STOPPED state. It doesn't make
sense to send mgmt_discovering event once discovery procedure has not
been even started.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_core.c