]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Temporary keys should be retained during connection
authorVishal Agarwal <vishal.agarwal@stericsson.com>
Mon, 16 Apr 2012 09:14:44 +0000 (14:44 +0530)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 16 Apr 2012 09:57:45 +0000 (12:57 +0300)
commitd7c3678771b2b0353e19ff3f2e29a31a1ba9f40d
treef0851fd42f167cf85539d1bd9109b17e0e0bf59e
parentc6b48db7c0ec67f65e7e26ea60f6df17ff270f8a
Bluetooth: Temporary keys should be retained during connection

If a key is non persistent then it should not be used in future
connections but it should be kept for current connection. And it
should be removed when connecion is removed.

Signed-off-by: Vishal Agarwal <vishal.agarwal@stericsson.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c