summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaesub kim <taesub.kim@samsung.com>2016-06-13 02:14:55 (GMT)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2016-06-13 02:14:55 (GMT)
commite39a8d93aad30e9fa3b27ae0d951bfa0017513cd (patch)
tree6da0e26a096d28d48aefbc6fbe60505f2b3b09ce
parent0f207feed5b323a80a91911424bf18bdbe2c03a8 (diff)
parentfc668cd071839f5788edf26c845a111d6379edcc (diff)
downloadconnman-e39a8d93aad30e9fa3b27ae0d951bfa0017513cd.zip
connman-e39a8d93aad30e9fa3b27ae0d951bfa0017513cd.tar.gz
connman-e39a8d93aad30e9fa3b27ae0d951bfa0017513cd.tar.bz2
Merge "[SPIN] service: extend wifi ext info for passpoint." into tizen
-rwxr-xr-xsrc/service.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index 4931216..db8953c 100755
--- a/src/service.c
+++ b/src/service.c
@@ -2718,11 +2718,13 @@ static void append_wifi_ext_info(DBusMessageIter *dict,
unsigned int maxrate;
uint16_t frequency;
const char *enc_mode;
+ gboolean passpoint;
bssid = connman_network_get_bssid(network);
maxrate = connman_network_get_maxrate(network);
frequency = connman_network_get_frequency(network);
enc_mode = connman_network_get_enc_mode(network);
+ passpoint = connman_network_get_is_hs20AP(network);
snprintf(bssid_str, WIFI_BSSID_STR_LEN, "%02x:%02x:%02x:%02x:%02x:%02x",
bssid[0], bssid[1], bssid[2],
@@ -2736,6 +2738,8 @@ static void append_wifi_ext_info(DBusMessageIter *dict,
DBUS_TYPE_UINT16, &frequency);
connman_dbus_dict_append_basic(dict, "EncryptionMode",
DBUS_TYPE_STRING, &enc_mode);
+ connman_dbus_dict_append_basic(dict, "Passpoint",
+ DBUS_TYPE_BOOLEAN, &passpoint);
}
#endif