]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd3b47b830f56f850390d0be01f3120fa7228d58c
treee9eb1146960ea45e3e8c610ece36669b065758df
parent726cd31978f3f0d8dc5a56656b9b13ea47a6342c
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