[network-manager-applet] applet-device-wifi: on error abort processing in get_secrets_dialog_response_cb()



commit 2951494993f18ef28e5284d20daefbaadde1123b
Author: Thomas Haller <thaller redhat com>
Date:   Wed Jun 3 20:21:22 2015 +0200

    applet-device-wifi: on error abort processing in get_secrets_dialog_response_cb()
    
    Fixes: 3722a190468f5ce5898db8838611bc826d3153f1

 src/applet-device-wifi.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/applet-device-wifi.c b/src/applet-device-wifi.c
index 0a4e62e..01854a8 100644
--- a/src/applet-device-wifi.c
+++ b/src/applet-device-wifi.c
@@ -1519,6 +1519,7 @@ get_secrets_dialog_response_cb (GtkDialog *foo,
                             NM_SECRET_AGENT_ERROR_FAILED,
                             "%s.%d (%s): failed to hash connection '%s'.",
                             __FILE__, __LINE__, __func__, nm_connection_get_id (connection));
+               goto done;
        }
        /* If the user chose an 802.1x-based auth method, return 802.1x secrets,
         * not wireless secrets.  Can happen with Dynamic WEP, because NM doesn't


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]