Bluetooth: Fix discovery filter when no RSSI is available
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 5 Dec 2014 12:03:34 +0000 (13:03 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 5 Dec 2014 12:14:26 +0000 (14:14 +0200)
commitefb2513fd6278d97d2114ab87f019f4fed01c037
tree1c72ebae48237246efa072a32a897f3451ffb9f9
parent189f6ad21faf73da26a4944a1893be871c079733
Bluetooth: Fix discovery filter when no RSSI is available

When no RSSI value is available then make sure that the result is
filtered out when the RSSI threshold filter is active.

This means that all Bluetooth 1.1 or earlier devices will not
report any results when using a RSSI threshold filter.

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