linux-sg2042/net/bluetooth
Johan Hedberg a5040efa20 Bluetooth: Add special handling with __hci_request and HCI_INIT
To support a more dynamic HCI initialization sequence the __hci_request
behavior requires some more changes. Particularly, the init sequence
should be able to have conditionals in it (sending some HCI commands
depending on the outcome of a previous command) instead of being a fixed
list as it is right now.

The reasons for these additional requirements are the moving all
previously user space driven initialization commands to the kernel side
as well as the support the Low Energy controllers.

To fulfull these requirements the init sequence is made the only special
case for multi-command requests and req_last_cmd is renamed to
init_last_cmd. The hci_send_cmd function is changed to update
init_last_cmd as long as the HCI_INIT flag is set.

Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
2011-02-08 01:40:06 -02:00
..
bnep Bluetooth: bnep: fix information leak to userland 2010-12-01 21:04:35 -02:00
cmtp Bluetooth: cmtp: fix information leak to userland 2010-12-01 21:04:35 -02:00
hidp Bluetooth: hidp: fix information leak to userland 2010-12-01 21:04:36 -02:00
rfcomm Bluetooth: Never deallocate a session when some DLC points to it 2011-01-19 14:40:42 -02:00
Kconfig Bluetooth: Remove L2CAP Extended Features from Kconfig 2010-07-21 10:39:04 -07:00
Makefile Bluetooth: Add initial Bluetooth Management interface callbacks 2010-12-07 23:03:38 -02:00
af_bluetooth.c Bluetooth: Add common code for stream-oriented recvmsg() 2010-10-12 12:44:51 -03:00
hci_conn.c Bluetooth: Fix race condition with conn->sec_level 2011-01-19 14:43:11 -02:00
hci_core.c Bluetooth: Add special handling with __hci_request and HCI_INIT 2011-02-08 01:40:06 -02:00
hci_event.c Bluetooth: Reject pairing requests when in non-pairable mode 2011-02-08 01:40:06 -02:00
hci_sock.c Bluetooth: Add support for set_powered management command 2011-02-08 01:40:04 -02:00
hci_sysfs.c Bluetooth: Implement debugfs support for listing UUIDs 2011-02-08 01:40:06 -02:00
l2cap.c Bluetooth: Fix setting of MTU for ERTM and Streaming Mode 2011-02-08 01:40:04 -02:00
lib.c Bluetooth: make batostr() print in the right order 2010-10-12 12:44:52 -03:00
mgmt.c Bluetooth: Implement UUID handling through the management interface 2011-02-08 01:40:05 -02:00
sco.c Bluetooth: clean up sco code 2010-12-01 21:04:43 -02:00