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
This commit is contained in:
parent
0d9fd1005f
commit
85dbe01725
1 changed files with 3 additions and 2 deletions
|
@ -139,9 +139,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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue