commit | 8f502f847a67d00412382aeda0a2fa412b04e2a7 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Wed Jan 28 19:56:02 2015 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Wed Jan 28 21:26:23 2015 +0100 |
tree | 9ae35c5ca512ece676d74b10a2f7e8013e40aae4 | |
parent | 39c5d970d4d1302d3407e0471c55520dd5537069 [diff] |
Bluetooth: Fix notifying discovery state when powering off The discovery state should be set to stopped when the HCI device is powered off. This patch adds the appropriate call to the hci_discovery_set_state() function from hci_dev_do_close() which is responsible for the power-off procedure. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>