Bluetooth: Make auth_req mask dependent on SC enabled or not
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 26 May 2014 10:29:28 +0000 (13:29 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 3 Dec 2014 15:51:14 +0000 (16:51 +0100)
commit0edb14de5606e145d14ae218103030269abcc152
tree37d5d81bb660d315c78e682fe6cb85e0624a71e9
parente65392e2ccbea210da1d8d8571de0d9821c42e7c
Bluetooth: Make auth_req mask dependent on SC enabled or not

If we haven't enabled SC support on our side we should use the same mask
for the authentication requirement as we were using before SC support
was added, otherwise we should use the extended mask for SC.

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