From: Johan Hedberg Date: Wed, 28 Jan 2015 17:56:02 +0000 (+0200) Subject: Bluetooth: Fix notifying discovery state when powering off X-Git-Tag: fixes-v4.0-rc1~150^2~73^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f502f847a67d00412382aeda0a2fa412b04e2a7;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed