D-Bus: Fix WPS ConfigMethods getter to handle no value properly
authorJouni Malinen <j@w1.fi>
Fri, 26 Dec 2014 17:57:24 +0000 (19:57 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 29 Dec 2014 13:49:05 +0000 (15:49 +0200)
commitd20be3a7396ed3cb52f6dfd39ffd8bb09c69d9d8
treecf675c345eca47c7fc8faed9effadcaaf758a378
parent11973b268229a754cd930b0a3a7cf5e89202c2aa
D-Bus: Fix WPS ConfigMethods getter to handle no value properly

wpas_dbus_simple_property_getter() cannot be used with NULL
DBUS_TYPE_STRING, so replace that with an empty string to handle the
case of no config_methods parameter in the configuration.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/dbus/dbus_new_handlers_wps.c