]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
D-Bus (old): Fix wpsReg error message
authorJouni Malinen <j@w1.fi>
Tue, 6 Jan 2015 11:33:02 +0000 (13:33 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 7 Jan 2015 11:19:00 +0000 (13:19 +0200)
This was supposed to return WpsRegError, not WpsPbcError.

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

index 3cf9dc3f4f2a0ebc7d3161199b0ac366568e9e8e..5309a5301fc24225778fd5e4d34ca6cbf4748540 100644 (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");
        }