Bluetooth: Refactor valid LTK data testing into its own function
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 20 Jan 2013 12:27:16 +0000 (14:27 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 23 Jan 2013 03:56:51 +0000 (01:56 -0200)
commit3f706b7205456c90cdc91e21eab36e2fcf4a8bce
tree291736a32da4624e99c1c651a7e5a456ed98ef9a
parent54ad6d8a5afe1a6d162d8d229a3d8fc48b254d24
Bluetooth: Refactor valid LTK data testing into its own function

This patch refactors valid LTK data testing into its own function. This
will help keep the code readable since there are several tests still
missing that need to be done on the LTK data.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/mgmt.c