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:
parent
f0614bc6c6
commit
68a866974b
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ DBusMessage * wpas_dbus_iface_wps_reg(DBusMessage *message,
|
||||||
|
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
return dbus_message_new_error(message,
|
return dbus_message_new_error(message,
|
||||||
WPAS_ERROR_WPS_PBC_ERROR,
|
WPAS_ERROR_WPS_REG_ERROR,
|
||||||
"Could not request credentials");
|
"Could not request credentials");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue