Bluetooth: Move advertising instance management to hci_request.c
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 18 Nov 2015 10:49:20 +0000 (12:49 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 9 Dec 2015 23:51:47 +0000 (00:51 +0100)
commitf22525700b2ae34eb97a29a91e2eee902062b484
tree1d45d8ed3e7a2224836d7dd9942ce01151690b9f
parent196a5e97d13092f783e41001c1112d7f31518ea2
Bluetooth: Move advertising instance management to hci_request.c

This paves the way for eventually performing advertising changes
through the hdev->req_workqueue. Some new APIs need to be exposed from
mgmt.c to hci_request.c and vice-versa, but many of them will go away
once hdev->req_workqueue gets used.

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_conn.c
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c
net/bluetooth/hci_request.c
net/bluetooth/hci_request.h
net/bluetooth/mgmt.c