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)
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

Simple merge