Bluetooth: Report invalid RSSI for service discovery and background scan
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 5 Dec 2014 12:03:35 +0000 (13:03 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 5 Dec 2014 12:14:28 +0000 (14:14 +0200)
When using Start Service Discovery and when background scanning is used
to report devices, the RSSI is reported or the value 127 is provided in
case RSSI in unavailable.

For Start Discovery the value 0 is reported to keep backwards
compatibility with the existing users.

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

Simple merge
Simple merge