]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Notify about device registration before power on
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 30 Oct 2012 08:35:40 +0000 (01:35 -0700)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 9 Nov 2012 15:45:37 +0000 (16:45 +0100)
commit40c6070aa609e17fffd6e2fdffbb2a57a51ab70a
tree87a343acf25b210d087cac66b906146b62b3188a
parente6dd5644bd271cd908b1399f58e510cd68d5e3f0
Bluetooth: Notify about device registration before power on

It is important that the monitor interface gets notified about
a new device before its power on procedure has been started.

For some reason that is no longer working as expected and the power
on procedure runs first. It is safe to just notify about device
registration and trigger the power on procedure afterwards.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Acked-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_core.c