summaryrefslogtreecommitdiff
path: root/plugins/wifi.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-14 02:12:40 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-14 02:12:40 +0100
commitc634b10c2613e71f2824171b9a42c1728f801c71 (patch)
treefbde8adc6f45f59ea81fb5829925b69d11981b5d /plugins/wifi.c
parent99515f9c0d4818aa99eb227657954a2d9f1d3ae3 (diff)
downloadconnman-c634b10c2613e71f2824171b9a42c1728f801c71.tar.gz
connman-c634b10c2613e71f2824171b9a42c1728f801c71.tar.bz2
connman-c634b10c2613e71f2824171b9a42c1728f801c71.zip
Add generic signal strength property
Diffstat (limited to 'plugins/wifi.c')
-rw-r--r--plugins/wifi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 77d83702..70e19e9d 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -351,7 +351,7 @@ static void scan_result(struct connman_element *device,
element->wifi.security = g_strdup(security);
}
- connman_element_add_static_property(element, "WiFi.Strength",
+ connman_element_add_static_property(element, "Strength",
DBUS_TYPE_BYTE, &strength);
DBG("%s (%s) strength %d", network->identifier,
@@ -361,7 +361,7 @@ static void scan_result(struct connman_element *device,
} else {
data->pending = g_slist_remove(data->pending, element);
- connman_element_set_static_property(element, "WiFi.Strength",
+ connman_element_set_static_property(element, "Strength",
DBUS_TYPE_BYTE, &strength);
}