summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheoleun moon <chleun.moon@samsung.com>2016-09-12 08:38:32 (GMT)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2016-09-12 08:38:32 (GMT)
commit09b29b8220c7b3f150a34e232a5f358d5a1a8c6b (patch)
tree5730f4665938fc003f86ae959bd77a03aeb798b1
parent65431c7a8406dde8b15f26dfc0d503858e0f64bd (diff)
parent9c36bd2ded2907f7ce3ddd6ed1a755ccaa4ea847 (diff)
downloadconnman-09b29b8220c7b3f150a34e232a5f358d5a1a8c6b.zip
connman-09b29b8220c7b3f150a34e232a5f358d5a1a8c6b.tar.gz
connman-09b29b8220c7b3f150a34e232a5f358d5a1a8c6b.tar.bz2
-rwxr-xr-xgsupplicant/supplicant.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c
index dc2232f..e9d6b9d 100755
--- a/gsupplicant/supplicant.c
+++ b/gsupplicant/supplicant.c
@@ -4930,6 +4930,19 @@ static void interface_add_network_params(DBusMessageIter *iter, void *user_data)
DBUS_TYPE_INT32,
&ssid->ignore_broadcast_ssid);
+#if defined TIZEN_EXT
+ if (ssid->bssid) {
+ char *bssid = NULL;
+ bssid = g_try_malloc0(18);
+ snprintf(bssid, 18, "%02x:%02x:%02x:%02x:%02x:%02x",
+ ssid->bssid[0], ssid->bssid[1], ssid->bssid[2],
+ ssid->bssid[3], ssid->bssid[4], ssid->bssid[5]);
+ supplicant_dbus_dict_append_basic(&dict, "bssid",
+ DBUS_TYPE_STRING, &bssid);
+ g_free(bssid);
+ }
+#endif
+
supplicant_dbus_dict_close(iter, &dict);
}