]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Map sec_level to link key requirements
authorWaldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Thu, 28 Apr 2011 10:07:55 +0000 (12:07 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 28 Apr 2011 18:02:12 +0000 (15:02 -0300)
commit2eef5056e3f32662bd84ce33d9ebdd6d300f782b
tree81f6ed817d6814ba2af5c0bf8a6b7ede9999a395
parent840637483a8efcaffe5cb883943b80565ecf5f24
Bluetooth: Map sec_level to link key requirements

Keep the link key type together with connection and use it to
map security level to link key requirements. Authenticate and/or
encrypt connection if the link is insufficiently secure.

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