Bluetooth: Clear advertising cache before scanning
authorAndre Guedes <andre.guedes@openbossa.org>
Thu, 26 May 2011 19:23:52 +0000 (16:23 -0300)
committerJaikumar Ganesh <jaikumar@google.com>
Mon, 11 Jul 2011 18:59:14 +0000 (11:59 -0700)
commit726e1334c7e975a0be3e675f9a67633ddd8afae3
tree0139519501408c8279f6842457a85409835079d8
parent5df108f14fb99cbb52ff96511f813f19c9fcbaa9
Bluetooth: Clear advertising cache before scanning

The LE advertising cache should be cleared before performing a LE
scanning. This will force the cache to contain only fresh advertising
entries.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/hci.h
net/bluetooth/hci_event.c