From: Andre Guedes Date: Fri, 17 Feb 2012 23:39:35 +0000 (-0300) Subject: Bluetooth: Prepare start_discovery X-Git-Tag: v3.4-rc1~177^2~112^2~134 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f39799f5047c4827b200acbf33cd0ba076afd7ed;p=pandora-kernel.git Bluetooth: Prepare start_discovery This patch does some code refactoring in start_discovery function in order to prepare it for interleaved discovery support. MGMT_ADDR_* macros were moved to hci_core.h since they are now used to define discovery type macros. Discovery type macros were defined according to mgmt-api.txt specification: Possible values for the Type parameter are a bit-wise or of the following bits: 1 BR/EDR 2 LE Public 3 LE Random By combining these e.g. the following values are possible: 1 BR/EDR 6 LE (public & random) 7 BR/EDR/LE (interleaved discovery) Signed-off-by: Andre Guedes Acked-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed