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

Simple merge