Bluetooth: Fix Out Of Band pairing when mgmt interface is disabled
authorSzymon Janc <szymon.janc@tieto.com>
Wed, 6 Apr 2011 11:01:59 +0000 (13:01 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 13 Apr 2011 15:20:02 +0000 (12:20 -0300)
commite1ba1f15469903b6f443fbf00f069d169e3fba6d
tree15ab7596925597ed149f2e1d5f462e1905fcc078
parent9f69bda6aa8b365169b4a6fd35432ee40574d661
Bluetooth: Fix Out Of Band pairing when mgmt interface is disabled

Use kernel stored remote Out Of Band data only if management interface
is enabled. Otherwise HCI_OP_REMOTE_OOB_DATA_NEG_REPLY was sent to
controller even if remote Out Of Band data was present in bluetoothd.

Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_event.c