aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorFrederic Danis <[email protected]>2015-05-15 11:58:39 +0200
committerMarcel Holtmann <[email protected]>2015-05-15 16:04:49 +0200
commitcffd2eedf91aa9e459b8640807ee6ea7bd8ee145 (patch)
treeb57d638ea590e1016982c2ad993e0968716b810b /tools/perf/scripts/python/event_analyzing_sample.py
parentdb33c77dddc2ed2cff3061d0b096a9f5ab0c3647 (diff)
Bluetooth: Fix calls to __hci_cmd_sync()
Remove test of command reply status as it is already performed by __hci_cmd_sync(). __hci_cmd_sync_ev() function already returns an error if it got a non-zero status either through a Command Complete or a Command Status event. For both of these events the status is collected up in the event handlers called by hci_event_packet() and then passed as the second parameter to req_complete_skb(). The req_complete_skb() callback in turn is hci_req_sync_complete() for __hci_cmd_sync_ev() which stores the status in hdev->req_result. The hdev->req_result is then further converted through bt_to_errno() back in __hci_cmd_sync_ev(). Signed-off-by: Frederic Danis <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions