diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-12-04 11:36:35 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-12-04 12:50:34 +0200 |
commit | 11e6e25d052478235a0c3f94d2f2faddeb58eb96 (patch) | |
tree | 2b0b7a206638756656c0870f244fc1d69d294be6 /include/net/cfg80211-wext.h | |
parent | f5a969f23bc32945b0ec4bdb8084f514a5311142 (diff) |
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 'include/net/cfg80211-wext.h')
0 files changed, 0 insertions, 0 deletions