diff options
| author | Johan Hedberg <johan.hedberg@intel.com> | 2013-03-05 20:37:43 +0200 |
|---|---|---|
| committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-03-08 10:40:25 -0300 |
| commit | 2177bab507d2715ae3b745f47056eacd38b79fa7 (patch) | |
| tree | c247ec5fb757caadc79999c36d71564aa507b8ad /tools/perf/scripts/python/futex-contention.py | |
| parent | 53cce22dc795e73fb48205e3f584f63f4c71c90c (diff) | |
Bluetooth: Split HCI init sequence into three stages
Having conditional command sending during a request has always been
problematic and caused hacks like the hdev->init_last_cmd variable. This
patch removes these conditionals and instead splits the init sequence
into three stages, each with its own __hci_req_sync() call.
This also paves the way to the upcoming asynchronous request support
swhich will also benefit by having a simpler implementation if it
doesn't need to cater for requests that change on the fly.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
