]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix link key persistent storage criteria
authorJohan Hedberg <johan.hedberg@nokia.com>
Thu, 28 Apr 2011 18:28:59 +0000 (11:28 -0700)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 28 Apr 2011 19:14:40 +0000 (16:14 -0300)
commit9b878064a2fb475963cb9ca3158259976c8c97dd
treed56b5d6b7443814f354db364db2f5717bde147e3
parent43fa0194b05e795d23835e50d0d3ca8a060396f1
Bluetooth: Fix link key persistent storage criteria

Link keys should only be stored if very specific criteria of the
authentication process are fulfilled. This patch essentially copies the
criteria that user space has so far been using to the kernel side so
that the management interface works properly.

Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c
net/bluetooth/mgmt.c