From: Johan Hedberg Date: Tue, 24 Jun 2014 10:15:51 +0000 (+0300) Subject: Bluetooth: Don't store debug keys if flag for them is not set X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~170 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d5650c4e519794fcc441635ea54f47d68140c93;p=pandora-kernel.git Bluetooth: Don't store debug keys if flag for them is not set Instead of waiting for a disconnection to occur to remove a debug key simply never store it in the list to begin with. This means we can also remove the debug keys check when looking up keys in hci_link_key_request_evt(). Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed