diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-12-04 10:36:35 (GMT) |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-12-04 10:50:34 (GMT) |
commit | 11e6e25d052478235a0c3f94d2f2faddeb58eb96 (patch) | |
tree | 2b0b7a206638756656c0870f244fc1d69d294be6 /CREDITS | |
parent | f5a969f23bc32945b0ec4bdb8084f514a5311142 (diff) | |
download | linux-11e6e25d052478235a0c3f94d2f2faddeb58eb96.tar.xz |
Bluetooth: Use {start,stop}_discovery_complete handler for cmd_complete
Sending the required cmd_complete for the management commands should be
done in one place and not in multiple places. Especially for Start and
Stop Discovery commands this is split into to sending it in case of
failure from the complete handler, but in case of success from the
event state update function triggering mgmt_discovering. This is way
too convoluted and since hci_request serializes the HCI command
processing, send the cmd_complete response from the complete handler
for all cases.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions