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)
commit6ec5bcadc21e13ceba8c144e4731eccac01d04f7
treef0851fd42f167cf85539d1bd9109b17e0e0bf59e
parent745c0ce35f904aeff8e1ea325c259a14a00ff1b7
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