Bluetooth: Refactor authentication method lookup into its own function
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 17 Jun 2014 10:07:38 +0000 (13:07 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 20 Jun 2014 11:53:42 +0000 (13:53 +0200)
commit581370cc74ea75426421a1f5851ef05e2e995b01
treeab948401458c9bf87d5d350e04a2b74a825592a7
parentc7262e711ae6e466baeb9ddc21d678c878469b1f
Bluetooth: Refactor authentication method lookup into its own function

We'll need to do authentication method lookups from more than one place,
so refactor the lookup into its own function.

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