Bluetooth: Read stored link key information when powering on controller
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 12 Jan 2015 17:21:26 +0000 (09:21 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 12 Jan 2015 19:54:48 +0000 (21:54 +0200)
commit48ce62c4fae7e817d9018020345bbe30a6b9c446
treee9eb1146960ea45e3e8c610ece36669b065758df
parentc2f0f979276fc4911cef5da2fc113f0daeda3ebc
Bluetooth: Read stored link key information when powering on controller

The information about max stored link keys and current stored link keys
should be read at controller initialization. So issue HCI Read Stored
Link Key command with BDADDR_ANY and read_all flag set to 0x01 to
retrieve this information.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_core.c