]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Update the security level when link is encrypted
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Thu, 9 Jun 2011 21:50:51 +0000 (18:50 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 13 Jun 2011 19:05:35 +0000 (16:05 -0300)
commit2b54de379684b7c8003a08b9bba0fafc93fc60c7
treeedca14a99df8944e629856de8a2c01d0ddebf678
parent320bcfc1dcc1bdf018a3ff4c49d1e1b229c4f0c2
Bluetooth: Update the security level when link is encrypted

If the pending security level is greater than the current security
level and the link is now encrypted, we should update the link
security level.

This is only useful for LE links, when the only event generated
when SMP is sucessful in the Encrypt Change event.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/hci_core.h