Bluetooth: Store OOB data present value for each set of remote OOB data
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 31 Jan 2015 07:20:55 +0000 (23:20 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Sat, 31 Jan 2015 07:59:45 +0000 (09:59 +0200)
commitf7697b1602d13ef80779caf23d13fa1511193144
treee18e6976b1fad8ef90a67f37e4b1def196b2aeba
parentc33fb9b4ef6c8e2472405606f3f9850415980c96
Bluetooth: Store OOB data present value for each set of remote OOB data

Instead of doing complex calculation every time the OOB data is used,
just calculate the OOB data present value and store it with the OOB
data raw values.

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