From: Johan Hedberg Date: Mon, 24 Feb 2014 12:52:19 +0000 (+0200) Subject: Bluetooth: Don't clear HCI_DISCOVERABLE when powering off X-Git-Tag: v3.15-rc1~113^2~159^2^2~37^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd107999338fbb2e084acebc635333a5cd156b09;p=pandora-kernel.git Bluetooth: Don't clear HCI_DISCOVERABLE when powering off Once mgmt_set_powered(off) is updated to clear the scan mode we should not just blindly clear the HCI_DISCOVERABLE flag in mgmt_discoverable() but first check if there is a pending set_powered operation. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed