commit | ca9142b8825c159897cc4a246ea27585c82add4b | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Wed Feb 19 14:57:44 2014 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Wed Feb 19 08:04:23 2014 -0800 |
tree | 9a61cba7282813a185cadea4c311dac406b58b5a | |
parent | 0a14ab416d7754be0bb0d4306c996f72f52fa5bf [diff] |
Bluetooth: Return added key when adding LTKs and IRKs The SMP code will need to postpone the mgmt event emission for the IRK and LTKs. To avoid extra lookups at the end of the key distribution simply return the added value from the add_ltk and add_irk functions. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>