From: Johan Hedberg Date: Wed, 24 Dec 2014 18:43:11 +0000 (+0200) Subject: Bluetooth: Fix accepting connections when not using mgmt X-Git-Tag: fixes-v4.0-rc1~357^2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a8fc95c87110a466ee81675b41170b963f82bdb;p=pandora-kernel.git Bluetooth: Fix accepting connections when not using mgmt When connectable mode is enabled (page scan on) through some non-mgmt method the HCI_CONNECTABLE flag will not be set. For backwards compatibility with user space versions not using mgmt we should not require HCI_CONNECTABLE to be set if HCI_MGMT is not set. Reported-by: Pali Rohár Tested-by: Pali Rohár Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann Cc: stable@vger.kernel.org # 3.17+ --- Reading git-diff-tree failed