]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Use helper function to determine BR/EDR OOB data present
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 28 Jan 2015 00:04:32 +0000 (16:04 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 28 Jan 2015 20:26:20 +0000 (21:26 +0100)
commit54cbb4b260460ca686a20d4d9c9a32a974bc9a56
tree8f3c6e89848e1f0ef36230174ab658610f94ff04
parentff1945c5e7eed959464138659bc6b2ac16753a91
Bluetooth: Use helper function to determine BR/EDR OOB data present

When replying to the IO capability request for Secure Simple Pairing and
Secure Connections, the OOB data present fields needs to set. Instead of
making the calculation inline, split this into a separate helper
function.

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