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