]> git.ipfire.org Git - thirdparty/hostap.git/commit
dbus: Fix property DebugShowKeys and DebugTimestamp
authorClemens Famulla-Conrad <cfamullaconrad@suse.de>
Tue, 5 Jul 2022 11:11:28 +0000 (13:11 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 16 Sep 2022 19:15:56 +0000 (22:15 +0300)
commitd2caf6ef54e8f59d2517b8ba06752ae267f61273
tree5781d9fc8ebf87a17edebd184cb9ed45e515b9a2
parenta17f9a2d41f1e2c962426ede2fdb14d43c477ca3
dbus: Fix property DebugShowKeys and DebugTimestamp

It is possible to specify -t or -K multiple times. With this the
value isn't boolean anymore and we hit a assert in libdbus
function `dbus_message_iter_append_basic()`, which expect 0 or 1
for DBUS_TYPE_BOOLEAN.

Signed-off-by: Clemens Famulla-Conrad <cfamullaconrad@suse.de>
wpa_supplicant/dbus/dbus_new_handlers.c