]> git.ipfire.org Git - thirdparty/hostap.git/commit
Global parser functions to return 1 when property unchanged
authorMatthew Wang <matthewmwang@chromium.org>
Thu, 16 Jul 2020 00:17:41 +0000 (17:17 -0700)
committerJouni Malinen <j@w1.fi>
Fri, 9 Oct 2020 13:50:36 +0000 (16:50 +0300)
commit922fa099721903b106a7bc1ccd1ffe8c4a7bce69
treeb3d83b0e2f4a71740cba4bf7ce56ea5281391d39
parenta87173b1d1eb74973cc2b761e005d248d1c8aad7
Global parser functions to return 1 when property unchanged

Currently, wpa_config_set(), the function that sets wpa_supplicant
per-network properties, returns 1 when a property it attempts to set is
unchanged. Its global parallel, wpa_config_process_global(), doesn't do
this even though much of the code is very similar. Change this, and
several of the parser functions, to resemble the per-network parser and
setter functions.

Signed-off-by: Matthew Wang <matthewmwang@chromium.org>
src/utils/wpabuf.h
wpa_supplicant/config.c
wpa_supplicant/ctrl_iface.c
wpa_supplicant/dbus/dbus_new_handlers.c