summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-11-13 10:55:18 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-11-15 01:46:49 +0100
commit35dc6f834c9dc888391c7b700130d0831a907ca1 (patch)
tree24b259e7c459dd1a6f75bd79c572e5e5560ef975 /samples
parentfa37c1aa30e538329b64dd55f401334f4bff47f5 (diff)
downloadlinux-35dc6f834c9dc888391c7b700130d0831a907ca1.tar.bz2
Bluetooth: Add key preference parameter to smp_sufficient_security
So far smp_sufficient_security() has returned false if we're encrypted with an STK but do have an LTK available. However, for the sake of LE CoC servers we do want to let the incoming connection through even though we're only encrypted with the STK. This patch adds a key preference parameter to smp_sufficient_security() with two possible values (enum used instead of bool for readability). Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions