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)
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

Simple merge