Bluetooth: Mgmt Device Found Event
authorAndre Guedes <andre.guedes@openbossa.org>
Tue, 30 Apr 2013 18:29:40 +0000 (15:29 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Sat, 22 Jun 2013 23:23:52 +0000 (00:23 +0100)
commit12602d0cc005354a519b3eba443d7912ab71313a
treec772ba1de92fec5555771af4376c2199a8561da5
parent8892d8beb37cb4ea531a5076946d5cc809b04c25
Bluetooth: Mgmt Device Found Event

We only want to send Mgmt Device Found Events if we are running the
Device Discovery procedure (started by the MGMT Start Discovery
Command). Inquiry or LE scanning triggered by HCI raw interface (e.g.
hcitool) or kernel internals should not send Mgmt Device Found Events.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Acked-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/mgmt.c