dbus: Fix WPS ProcessCredentials property setter to use Boolean

The incorrect type used with property setter call did not allow
the property to be modified.
This commit is contained in:
Jouni Malinen 2010-01-01 23:06:10 +02:00
parent ec99cb7b00
commit 6c68b0db5d

View File

@ -313,7 +313,7 @@ DBusMessage * wpas_dbus_setter_process_credentials(
DBusMessage *reply = NULL;
dbus_bool_t process_credentials, old_pc;
reply = wpas_dbus_simple_property_setter(message, DBUS_TYPE_UINT32,
reply = wpas_dbus_simple_property_setter(message, DBUS_TYPE_BOOLEAN,
&process_credentials);
if (reply)
return reply;