]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix old_key_type logic for non-persistent keys
authorJohan Hedberg <johan.hedberg@nokia.com>
Thu, 28 Apr 2011 18:29:00 +0000 (11:29 -0700)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 28 Apr 2011 19:14:41 +0000 (16:14 -0300)
commitf6b6c1529e9e9b041df74bcad30606ca38cdfc8c
treef39d0e208c172f3956e7e59874091bee9c361488
parent9b878064a2fb475963cb9ca3158259976c8c97dd
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>
net/bluetooth/hci_core.c