From: Johan Hedberg Date: Wed, 3 Dec 2014 10:43:39 +0000 (+0200) Subject: Bluetooth: Fix SMP debug key handling X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~28^2~5^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=923e24143efe654553cabdb08f369d3789413147;p=pandora-kernel.git Bluetooth: Fix SMP debug key handling We need to keep debug keys around at least until the point that they are used - otherwise e.g. slave role behavior wouldn't work as there'd be no key to be looked up. The correct behavior should therefore be to return any stored keys but when we clean up the SMP context to remove the key from the hdev list if keeping debug keys around hasn't been requestsed. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed