summaryrefslogtreecommitdiff
path: root/gsupplicant/supplicant.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2011-01-15 01:38:00 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2011-02-02 18:45:36 +0100
commit4bbbe466e57df7fce82de4b38b29cd70d2a56ec3 (patch)
treeac797f2f2657fe0db39aee90ec54015550a5bb50 /gsupplicant/supplicant.c
parent27724d297b0a11d12f46a121a1982617c9ccf7af (diff)
downloadconnman-4bbbe466e57df7fce82de4b38b29cd70d2a56ec3.tar.gz
connman-4bbbe466e57df7fce82de4b38b29cd70d2a56ec3.tar.bz2
connman-4bbbe466e57df7fce82de4b38b29cd70d2a56ec3.zip
gsupplicant: Add network channel setting
Diffstat (limited to 'gsupplicant/supplicant.c')
-rw-r--r--gsupplicant/supplicant.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c
index 48a176a0..52f33af3 100644
--- a/gsupplicant/supplicant.c
+++ b/gsupplicant/supplicant.c
@@ -2694,6 +2694,10 @@ static void interface_add_network_params(DBusMessageIter *iter, void *user_data)
supplicant_dbus_dict_append_basic(&dict, "scan_ssid",
DBUS_TYPE_UINT32, &scan_ssid);
+ if (ssid->freq)
+ supplicant_dbus_dict_append_basic(&dict, "frequency",
+ DBUS_TYPE_UINT32, &ssid->freq);
+
add_network_mode(&dict, ssid);
add_network_security(&dict, ssid);