diff options
author | Johan Hedberg <[email protected]> | 2014-06-10 14:05:57 +0300 |
---|---|---|
committer | Marcel Holtmann <[email protected]> | 2014-06-13 13:32:16 +0200 |
commit | 50143a433b70e3145bcf8a4a4e54f0c11bdee32b (patch) | |
tree | 312d2eb6ebf5f7b30a893ef20101175cdc3df2c3 /net/lapb/lapb_timer.c | |
parent | fff3490f47810e2d34b91fb9e31103e923b11c2f (diff) |
Bluetooth: Fix indicating discovery state when canceling inquiry
When inquiry is canceled through the HCI_Cancel_Inquiry command there is
no Inquiry Complete event generated. Instead, all we get is the command
complete for the HCI_Inquiry_Cancel command. This means that we must
call the hci_discovery_set_state() function from the respective command
complete handler in order to ensure that user space knows the correct
discovery state.
Signed-off-by: Johan Hedberg <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Cc: [email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions