From a122608612253a3195c6098ce477ddb4c243c9e7 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 21 May 2009 12:10:26 -0700 Subject: [PATCH] Use new helpers for network name and signal strength --- plugins/supplicant.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/supplicant.c b/plugins/supplicant.c index 192a016..6df89d6 100644 --- a/plugins/supplicant.c +++ b/plugins/supplicant.c @@ -1176,7 +1176,7 @@ static void properties_reply(DBusPendingCall *call, void *user_data) } if (result.name != NULL && result.name[0] != '\0') - connman_network_set_string(network, "Name", result.name); + connman_network_set_name(network, result.name); connman_network_set_blob(network, "WiFi.SSID", result.ssid, result.ssid_len); @@ -1188,9 +1188,9 @@ static void properties_reply(DBusPendingCall *call, void *user_data) (result.has_wps == TRUE) ? "WPS" : "no WPS"); connman_network_set_available(network, TRUE); - connman_network_set_uint8(network, "Strength", strength); - connman_network_set_uint16(network, "Frequency", frequency); + connman_network_set_strength(network, strength); + connman_network_set_uint16(network, "Frequency", frequency); connman_network_set_uint16(network, "WiFi.Channel", channel); connman_network_set_string(network, "WiFi.Security", security); -- 2.7.4