Bluetooth: Fix assuming EIR flags can result in SSP authentication
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 19 May 2020 20:25:17 +0000 (13:25 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 20 May 2020 14:33:43 +0000 (16:33 +0200)
commit755dfcbca83710fa967d0efa7c5bb601f871a747
tree6fb68b67a52b7dacddcc83c91968731f3759339b
parent3ca44c16b0dcc764b641ee4ac226909f5c421aa3
Bluetooth: Fix assuming EIR flags can result in SSP authentication

EIR flags should just hint if SSP may be supported but we shall verify
this with use of the actual features as the SSP bits may be disabled in
the lower layers which would result in legacy authentication to be
used.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_conn.c