Bluetooth: Track local vs remote OOB data availability
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 16 Mar 2015 09:45:44 +0000 (11:45 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 16 Mar 2015 16:16:45 +0000 (17:16 +0100)
commit1a8bab4f390130268e5384ccf1bde47925102c72
treeb8f2b9ed330f78eedd678e65bf982aeb35d631c9
parent882fafad71a4bac8e8a2445dfb08c38a71b4eef1
Bluetooth: Track local vs remote OOB data availability

There are several decisions in the SMP logic that depend not only on
whether we're doing SMP or not, but also whether local and/or remote OOB
data is present. This patch splits the existing SMP_FLAG_OOB into two
new flags to track local and remote OOB data respectively.

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