commit | 12adcf3a953c3aa4006d855aa638133bf018ceac | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@nokia.com> | Thu Apr 28 11:29:00 2011 -0700 |
committer | Gustavo F. Padovan <padovan@profusion.mobi> | Thu Apr 28 16:14:41 2011 -0300 |
tree | f39d0e208c172f3956e7e59874091bee9c361488 | |
parent | d25e28abe58d2bcedf6025a6ccc532c29a19046f [diff] |
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 <johan.hedberg@nokia.com> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>