Bluetooth: Fix reporting invalid RSSI for LE devices
authorSzymon Janc <szymon.janc@tieto.com>
Thu, 22 Jan 2015 15:57:05 +0000 (16:57 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 22 Jan 2015 17:06:43 +0000 (18:06 +0100)
commit91200e9f3e76af2652952e73ce5d9913f1c987c6
tree0bf3281ece9a503756226d58aa7d0f7fab7e423f
parent9a5abdaaf9d2e80e157c7a756f9d9fd933dee48e
Bluetooth: Fix reporting invalid RSSI for LE devices

Start Discovery was reporting 0 RSSI for invalid RSSI only for
BR/EDR devices. LE devices were reported with RSSI 127.

Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Cc: stable@vger.kernel.org # 3.19+
net/bluetooth/mgmt.c