Bluteooth: Reject SMP bonding if HCI_PAIRABLE is not set
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 10 Jul 2014 08:02:07 +0000 (11:02 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 10 Jul 2014 08:23:39 +0000 (10:23 +0200)
commitb3c6410b8c75cd48e4242af0173bb55701939b9b
treee160a7c09d4525e8066394fe57bfdfba14a7a50f
parente8b1202ce6ab67341660812e7d66db4c3e2a5649
Bluteooth: Reject SMP bonding if HCI_PAIRABLE is not set

If the remote device tries to initiate bonding with us and we don't have
HCI_PAIRABLE set we should just flat out reject the request. This brings
SMP in line with how the flag is used for BR/EDR SSP.

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