]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix clearing remote OOB data through mgmt
authorJohan Hedberg <johan.hedberg@intel.com>
Sat, 15 Nov 2014 07:34:23 +0000 (09:34 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 15 Nov 2014 08:00:29 +0000 (09:00 +0100)
commita83c57887b47839bcbc92661076052732431c5d7
treee9703904b9a4416de21d7037db6226e4c36e2c59
parent4157fd96dcba1d8121dfa6a14535b4981dbdae6f
Bluetooth: Fix clearing remote OOB data through mgmt

When passed BDADDR_ANY the Remove Remote OOB Data comand is specified to
clear all entries. This patch adds the necessary check and calls
hci_remote_oob_data_clear() when necessary.

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