From: Johan Hedberg Date: Mon, 26 May 2014 08:21:22 +0000 (+0300) Subject: Bluetooth: Use custom macro for testing BR/EDR SC enabled X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~28^2~5^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=710f11c08e9f18a8a642024880804436c0969514;p=pandora-kernel.git Bluetooth: Use custom macro for testing BR/EDR SC enabled Since the HCI_SC_ENABLED flag will also be used for controllers without BR/EDR Secure Connections support whenever we need to check specifically for SC for BR/EDR we also need to check that the controller actually supports it. This patch adds a convenience macro for check all the necessary conditions and converts the places in the code that need it to use it. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed