]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Ignore key unauthenticated for high security
authorWaldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Thu, 28 Apr 2011 10:07:56 +0000 (12:07 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 28 Apr 2011 18:03:42 +0000 (15:03 -0300)
commit1c90e61754ab34c919c3eb8f0dc235ebf83a5aec
tree76e3dfd9a6a00cc1be9ab70b3802813178c266f7
parent2eef5056e3f32662bd84ce33d9ebdd6d300f782b
Bluetooth: Ignore key unauthenticated for high security

High security level for pre v2.1 devices requires combination link key
authenticated by at least 16 digit PIN code.

It's also necessary to update key_type and pin_length when the key
exists and is sufficently secured for the connection as there will be
no link key notify event in that case.

Signed-off-by: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_event.c