aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus/dbus_new_handlers.c
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-01-23 09:38:49 (GMT)
committerJouni Malinen <j@w1.fi>2019-01-23 22:24:09 (GMT)
commit98251c6f213e0aaf2aedc521b6e0ea351e304580 (patch)
treeebad2e375237688c92f881a2b571802d812866bd /wpa_supplicant/dbus/dbus_new_handlers.c
parent1e591df063250c9fa2068112cecb7ce329e72db7 (diff)
downloadhostap-98251c6f213e0aaf2aedc521b6e0ea351e304580.zip
hostap-98251c6f213e0aaf2aedc521b6e0ea351e304580.tar.gz
hostap-98251c6f213e0aaf2aedc521b6e0ea351e304580.tar.bz2
dbus: Document more possible BSS/RSA/KeyMgmt values
This is probably not ideal, since it would be better if it ended up being autogenerated somehow, but at least it's somewhat of an improvement. Also added a comment that encourages keeping the docs in sync. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Diffstat (limited to 'wpa_supplicant/dbus/dbus_new_handlers.c')
-rw-r--r--wpa_supplicant/dbus/dbus_new_handlers.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/wpa_supplicant/dbus/dbus_new_handlers.c b/wpa_supplicant/dbus/dbus_new_handlers.c
index d64b910..6c36d91 100644
--- a/wpa_supplicant/dbus/dbus_new_handlers.c
+++ b/wpa_supplicant/dbus/dbus_new_handlers.c
@@ -4507,7 +4507,12 @@ static dbus_bool_t wpas_dbus_get_bss_security_prop(
if (!wpa_dbus_dict_open_write(&variant_iter, &iter_dict))
goto nomem;
- /* KeyMgmt */
+ /*
+ * KeyMgmt
+ *
+ * When adding a new entry here, please take care to extend key_mgmt[]
+ * and keep documentation in doc/dbus.doxygen up to date.
+ */
n = 0;
if (ie_data->key_mgmt & WPA_KEY_MGMT_PSK)
key_mgmt[n++] = "wpa-psk";