Bluetooth: Perform Class of Device changes through hdev->req_workqueue
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 22 Nov 2015 17:00:22 +0000 (19:00 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 9 Dec 2015 23:51:48 +0000 (00:51 +0100)
commit14bf5eac7a4f4bf0729ff8eb358de4fab967cee1
tree82a17c6b076ce7a7f496833f36cb1f267fc14faa
parent53c0ba74510c1182786dcd1e3710215467777601
Bluetooth: Perform Class of Device changes through hdev->req_workqueue

The Class of Device needs to be changed e.g. for limited discoverable
mode. In preparation of moving the discoverable mode to hci_request.c
and hdev->req_workqueue, move the Class of Device helpers there first.

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