]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb37d3a45081b880d16622192f836fb0b1a7db71b
tree6a5fa908020f59dd8b6dd94eb042f4a0634d1e20
parenteda504e6d840b6a33c40c2dc372ceba40da12627
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