From: Johan Hedberg Date: Mon, 24 Feb 2014 12:52:21 +0000 (+0200) Subject: Bluetooth: Don't clear HCI_ADVERTISING when powering off X-Git-Tag: v3.15-rc1~113^2~159^2^2~37^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c4cfab8082f1398dc7bc091166dd302a44b015b;p=pandora-kernel.git Bluetooth: Don't clear HCI_ADVERTISING when powering off Once mgmt_set_powered(off) is updated to clear the scan mode we should not just blindly clear the HCI_ADVERTISING flag in mgmt_advertising() 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