From: Johan Hedberg Date: Thu, 28 Apr 2011 18:29:00 +0000 (-0700) Subject: Bluetooth: Fix old_key_type logic for non-persistent keys X-Git-Tag: v3.0-rc1~377^2~161^2^2~40^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12adcf3a953c3aa4006d855aa638133bf018ceac;p=pandora-kernel.git Bluetooth: Fix old_key_type logic for non-persistent keys Even if there's no previous key stored the connection might still be secured with a non-persistent key and in that case the key type in the hci_conn struct should be checked. Signed-off-by: Johan Hedberg Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed