From: Jakub Pawlowski Date: Mon, 20 Jul 2015 11:12:49 +0000 (+0200) Subject: Bluetooth: Move IRK checking logic in preparation to new connect method X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~258^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a0a8a8e852dabeda848baafac19627cb469d5e9;p=pandora-kernel.git Bluetooth: Move IRK checking logic in preparation to new connect method Move IRK checking logic in preparation to new connect method. Also make sure that MGMT_STATUS_INVALID_PARAMS is returned when non identity address is passed to ADD_DEVICE. Right now MGMT_STATUS_FAILED is returned, which might be misleading. Signed-off-by: Jakub Pawlowski Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed