commit | 567fa2aa3dfad9848c25a226927a4ca5f94229ac | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Tue Jun 24 13:15:48 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Thu Jul 03 17:42:45 2014 +0200 |
tree | e16506334c4b7e2f89012c873ffe3567549934a1 | |
parent | 37f468cd171c7d76d560b6bd5c09dc506ab9dbec [diff] |
Bluetooth: Update hci_add_link_key() to return pointer to key By returning the added (or updated) key we pave the way for further refactoring (in subsequent patches) that allows moving the mgmt event sending out from this function (and thereby removal of the awkward new_key parameter). Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>