]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - net/bluetooth/mgmt.c
Bluetooth: Move discoverable changes to hdev->req_workqueue
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 22 Nov 2015 14:24:44 +0000 (17:24 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 9 Dec 2015 23:51:48 +0000 (00:51 +0100)
commitaed1a8851db022c3bd22af41a343068b8c6e40c1
tree74efd21f8ee36965782e8394cb0e8ee70aa598aa
parent14bf5eac7a4f4bf0729ff8eb358de4fab967cee1
Bluetooth: Move discoverable changes to hdev->req_workqueue

The discoverable mode is intrinsically linked with the connectable
mode e.g. through sharing the same HCI command (Write Scan Enable) for
BR/EDR. It makes therefore sense to move it to hci_request.c and run
the changes through the same hdev->req_workqueue.

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