Bluetooth: Remove OOB data if device was discovered in band
authorSzymon Janc <szymon.janc@tieto.com>
Tue, 20 Nov 2012 10:38:54 +0000 (11:38 +0100)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Tue, 20 Nov 2012 18:03:15 +0000 (16:03 -0200)
commit2b2fec4d08a0aabe20d2e749cb7978f04217af65
tree14d87c0d1ec47e417f628059720eabcaba261c6b
parentfd45bf4c923308b19d8baa3c227d26a0e7d79fa7
Bluetooth: Remove OOB data if device was discovered in band

OOB authentication mechanism should be used only if pairing process
has been activated by previous OOB information exchange (Core Spec
4.0 , vol. 1, Part A, 5.1.4.3). Stored OOB data for specific device
should be removed if that device was discovered in band later on.

Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Acked-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_core.c