]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Flush inquiry cache when starting mgmt triggered inquiry
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 2 Jan 2012 14:06:08 +0000 (16:06 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 13 Feb 2012 15:01:20 +0000 (17:01 +0200)
commita26221818573f69e1faeb060f1a4d51d0121b90e
tree73ca73f55dd4c00d0f5deaf9639a8313e19e8161
parentccf29b08b0265b3fff8ad0408e9678998c2a2c35
Bluetooth: Flush inquiry cache when starting mgmt triggered inquiry

For the remote name state tracking for the management interface to work
the cache needs to be flushed whenever inquiry is started. The
hci_do_inquiry function is only used by the management interface so by
having the flushing done from it ensures that old ioctl based
functionality isn't affected.

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