[gnome-control-center/gnome-3-6] network: Fix 8021x connections
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-6] network: Fix 8021x connections
- Date: Wed, 17 Oct 2012 09:37:16 +0000 (UTC)
commit 32937d2b27fd4816cec88c20b4d5c88518c3af8a
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Oct 16 14:36:16 2012 -0400
network: Fix 8021x connections
We were always throwing away requests to connect to 8021x
APs, due to missing braces.
https://bugzilla.gnome.org/show_bug.cgi?id=686244
panels/network/cc-network-panel.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c
index d449f74..2a36161 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -138,9 +138,10 @@ verify_argv (CcNetworkPanel *self,
case OPERATION_CONNECT_MOBILE:
case OPERATION_CONNECT_8021X:
case OPERATION_SHOW_DEVICE:
- if (self->priv->arg_device == NULL)
+ if (self->priv->arg_device == NULL) {
g_warning ("Operation %s requires an object path", args[0]);
- return FALSE;
+ return FALSE;
+ }
default:
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]