aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndre Guedes <[email protected]>2013-11-07 17:36:09 -0300
committerGustavo Padovan <[email protected]>2013-12-04 11:09:04 -0200
commitabf54a506d06e0b3ba2c408040e647791af37937 (patch)
tree75e92e24581fe006f8ac1aec97571b7fea3691b0 /tools/perf/scripts/python
parent35580d223b6b04d9a570e4fe377c46a102413fe8 (diff)
Bluetooth: Remove unneeded check in hci_disconn_complete_evt()
According to b644ba336 (patch that introduced HCI_CONN_MGMT_CONNECTED flag), the HCI_CONN_MGMT_CONNECTED flag tracks when mgmt has been notified about the connection. That being said, there is no point in calling mgmt_disconnect_failed() conditionally based on this flag. mgmt_disconnect_failed() removes pending MGMT_OP_DISCONNECT commands, it doesn't matter if that connection was notified or not. Moreover, if the Disconnection Complete event has status then we have nothing else to do but call mgmt_disconnect_failed() and return. Signed-off-by: Andre Guedes <[email protected]> Signed-off-by: Johan Hedberg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions