Bluetooth: Fix forcing SMP just-works with no-bonding
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 9 Jul 2014 16:18:10 +0000 (19:18 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 9 Jul 2014 16:23:06 +0000 (18:23 +0200)
commite247605a6247aff887d435d2334ffe0e581dae24
tree00dae526c840dded11331180dc56426253937032
parent2bcd4003b8fafe200eb31f43d50e305e5dc44058
Bluetooth: Fix forcing SMP just-works with no-bonding

Whether we bond or not should not have any impact on the user
interaction model. This patch removes an incorrect fall-back from
JUST_CFM to JUST_WORKS in case we're not bonding.

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