D-Bus (old): Fix wpsReg error message

This was supposed to return WpsRegError, not WpsPbcError.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2015-01-06 13:33:02 +02:00
parent f0614bc6c6
commit 68a866974b

View File

@ -144,7 +144,7 @@ DBusMessage * wpas_dbus_iface_wps_reg(DBusMessage *message,
if (ret < 0) {
return dbus_message_new_error(message,
WPAS_ERROR_WPS_PBC_ERROR,
WPAS_ERROR_WPS_REG_ERROR,
"Could not request credentials");
}