]> git.karo-electronics.de Git - mv-sheeva.git/commit
Bluetooth: LE scan should send Discovering events
authorAndre Guedes <andre.guedes@openbossa.org>
Fri, 3 Feb 2012 20:47:57 +0000 (17:47 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 13 Feb 2012 15:01:34 +0000 (17:01 +0200)
commitc599008f8f999dab8cb4a6404be99bdc4716ba15
treec67e858a2ef7e8ebebeeaec95e6d3f9ec9afe0a6
parent8af59467412b4b61850d3ccb3737c09ecc6dc100
Bluetooth: LE scan should send Discovering events

Send MGMT Discovering events once LE scan starts/stops so the
userspace can track when local adapters are discovering LE devices.

This way, we also keep the same behavior of inquiry which sends MGMT
Discovering events once inquiry starts/stops even if it is triggered
by an external tool (e.g. hcitool).

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>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c