Bluetooth: Implement a more complete adapter initialization sequence
authorJohan Hedberg <johan.hedberg@nokia.com>
Mon, 24 Jan 2011 23:19:58 +0000 (01:19 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Tue, 8 Feb 2011 03:40:06 +0000 (01:40 -0200)
commitd5859e22cd40b73164b3e5d8d5d796f96edcc6af
tree6a5fa908020f59dd8b6dd94eb042f4a0634d1e20
parentd83506003608910d24d5ace9ec06ad1bfd9ad110
Bluetooth: Implement a more complete adapter initialization sequence

Using the managment interface means that user space doesn't need to do
any HCI command sending at all. This patch moves the remaining
initialization commands from user space to the kernel side. The patch
makes use of the new feature of __hci_request which allows the request
to be dynamically modified while it is ongoing (something that is needed
to react appropriately to the local features and the version of the
adapter).

Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/hci.h
include/net/bluetooth/hci_core.h
net/bluetooth/hci_event.c