]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Move arming of discoverable timeout to complete handler
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 15 Oct 2013 15:11:02 +0000 (08:11 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 15 Oct 2013 15:19:56 +0000 (18:19 +0300)
commit33c1b27d0e17c5b3c1122b432e49419fcefe7eab
tree23299339dec70adcd79367023e1b300b71e14624
parent759361eb2a2ed6db68ece51dca3c813e6880fb2d
Bluetooth: Move arming of discoverable timeout to complete handler

The discoverable timeout is currently armed from hci_event.c and causes
some side effects when using HCI commands instead of the management
interface. To make this clear, only arm the discoverable timeout from
the management command complete handler.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_event.c
net/bluetooth/mgmt.c