summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-03-14 21:45:39 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-03-14 21:45:39 +0000
commit5946ab97f600372b44cb1681c3a26a863032261d (patch)
tree275fc313a83a482f399c44536bbeeae065f25b96
parentab183f415cfc7064c5e74a1a7bcfa0aba3ca846c (diff)
Fix RSSI dbus type.
-rw-r--r--hcid/dbus-hci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus-hci.c b/hcid/dbus-hci.c
index 95fe6c43..2ae1e8c4 100644
--- a/hcid/dbus-hci.c
+++ b/hcid/dbus-hci.c
@@ -1620,7 +1620,7 @@ void hcid_dbus_inquiry_result(bdaddr_t *local, bdaddr_t *peer, uint32_t class,
emit_device_found(path, paddr,
"Address", DBUS_TYPE_STRING, &paddr,
"Class", DBUS_TYPE_UINT32, &class,
- "RSSI", DBUS_TYPE_UINT16, &tmp_rssi,
+ "RSSI", DBUS_TYPE_INT16, &tmp_rssi,
"Name", DBUS_TYPE_STRING, &name,
NULL);
}