]> git.karo-electronics.de Git - karo-tx-linux.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)
commita83ed81ef5881445d96120bea2032f72884fe038
tree8f3c6e89848e1f0ef36230174ab658610f94ff04
parent6665d057fba3376351346abe7bd1ebcaafc48a34
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