From: Johan Hedberg Date: Fri, 15 Aug 2014 18:06:55 +0000 (+0300) Subject: Bluetooth: Set addr_type only when it's needed X-Git-Tag: omap-for-v3.19/prcm-cleanup~141^2~144^2~146 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08853f18eafe65aa97deb464c28505a67c898b0e;p=pandora-kernel.git Bluetooth: Set addr_type only when it's needed In the hci_le_conn_complete_evt() function there's no need to set the addr_type value until it's actually needed, i.e. for the black list lookup. This patch moves the code a bit further down in the function. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed