]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Don't advertise high speed support without SSP
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 11 Oct 2013 16:48:47 +0000 (09:48 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 11 Oct 2013 17:48:13 +0000 (19:48 +0200)
commita01562cb4c176cc2423e67f6b03c14047627de16
treed98081e7fdcf55e63136440322328521d7d9a77f
parent1f7e80e3410cbb06f974aa084909ebe8ab6610ca
Bluetooth: Don't advertise high speed support without SSP

It is not allowed to enable high speed support when Secure Simple
Pairing is not available or disabled.

However the support for high speed gets advertised on a controller
that does not even support Secure Simple Pairing. Since there is
no way to enable high speed support on such a controller, do not
even advertise its support.

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