Bluetooth: Move New LTK store hint evaluation into mgmt_new_ltk
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 19 Feb 2014 12:57:45 +0000 (14:57 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 19 Feb 2014 16:04:23 +0000 (08:04 -0800)
It's simpler (one less if-statement) to just evaluate the appropriate
value for store_hint in the mgmt_new_ltk function than to pass a boolean
parameter to the function. Furthermore, this simplifies moving the mgmt
event emission out from hci_add_ltk in subsequent patches.

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

No differences found