]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix OOB data present for BR/EDR Secure Connections Only mode
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 31 Jan 2015 21:20:27 +0000 (13:20 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 1 Feb 2015 09:52:54 +0000 (11:52 +0200)
commit3e8acf20f99bb240fe3ed30ce49ce07390c59ba3
treece8a69114bec8fc9544c4797229d0ad4b3419eee
parent5daf7d23ddddc85942ad238678288f0a8b131952
Bluetooth: Fix OOB data present for BR/EDR Secure Connections Only mode

When using Secure Connections Only mode, then only P-256 OOB data is
valid and should be provided. In case userspace provides P-192 and P-256
OOB data, then the P-192 values will be set to zero. However the present
value of the IO capability exchange still mentioned that both values
would be available. Fix this by telling the controller clearly that only
the P-256 OOB data is present.

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