Bluetooth: Set link key generation bit if necessary for LE SC
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 6 Jun 2014 07:39:56 +0000 (10:39 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 3 Dec 2014 15:51:16 +0000 (16:51 +0100)
commitdf8e1a4c7339f6447e75430e7c8172deddb489a9
tree32fdad023662184ee3b098da31055e1021837548
parentf3a73d97b3b78584e111478d07dfd063453f112e
Bluetooth: Set link key generation bit if necessary for LE SC

Depending on whether Secure Connections is enabled or not we may need to add
the link key generation bit to the key distribution. This patch does the
necessary modifications to the build_pairing_cmd() function.

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