Bluetooth: Add HCI_RSSI_INVALID for unknown RSSI value
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 5 Dec 2014 09:55:53 +0000 (10:55 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 5 Dec 2014 10:37:30 +0000 (12:37 +0200)
commita89612aac3cc6b13e6738bd70e05faf6f3fc8d9e
treeaf21cedf9d42d5f47e77d5dc45ffcdc7e334e6df
parent8019044dcb5944c0f578a1e59cecbd09d7b7c7f3
Bluetooth: Add HCI_RSSI_INVALID for unknown RSSI value

The Bluetooth core specification defines the value 127 as invalid for
RSSI values. So instead of hard coding it, lets add a constant for it.

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