summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-06-03 20:21:22 +0200
committerThomas Haller <thaller@redhat.com>2015-06-03 20:23:30 +0200
commit2951494993f18ef28e5284d20daefbaadde1123b (patch)
tree21fcb52397906b87b1fead66ef0242be54110080
parentbf3ad38741124635f6e0ff41d95b7c8524a4088b (diff)
downloadnetwork-manager-applet-2951494993f18ef28e5284d20daefbaadde1123b.tar.gz
applet-device-wifi: on error abort processing in get_secrets_dialog_response_cb()
Fixes: 3722a190468f5ce5898db8838611bc826d3153f1
-rw-r--r--src/applet-device-wifi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/applet-device-wifi.c b/src/applet-device-wifi.c
index 0a4e62ec..01854a85 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