diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-01-31 10:20:55 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-01-31 10:59:45 +0300 |
commit | f7697b1602d13ef80779caf23d13fa1511193144 (patch) | |
tree | e18e6976b1fad8ef90a67f37e4b1def196b2aeba /include/net | |
parent | c33fb9b4ef6c8e2472405606f3f9850415980c96 (diff) | |
download | linux-f7697b1602d13ef80779caf23d13fa1511193144.tar.xz |
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>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 1780f1681ecf..a37e10f4e2b3 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -145,6 +145,7 @@ struct oob_data { struct list_head list; bdaddr_t bdaddr; u8 bdaddr_type; + u8 present; u8 hash192[16]; u8 rand192[16]; u8 hash256[16]; |