Bluetooth: Clear advertising cache before scanning
authorAndre Guedes <andre.guedes@openbossa.org>
Thu, 26 May 2011 19:23:52 +0000 (16:23 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 8 Jun 2011 19:58:17 +0000 (16:58 -0300)
commiteb9d91f5ae9c14583c49223e49f7e88f77b84749
tree405173f41c8d3e2c28c32dd9ac1ebd472b1904de
parent9aa04c9108164e62cf94d6913183817a0d3dbf03
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