network: allocate nm-connection for nma-wireless-dialog

https://bugzilla.gnome.org/show_bug.cgi?id=648174
This commit is contained in:
Gary Ching-Pang Lin 2011-10-06 12:16:59 +08:00 committed by Bastien Nocera
parent 9579986439
commit 73b0fe159d

View file

@ -281,6 +281,8 @@ cc_network_panel_connect_to_8021x_network (CcNetworkPanel *panel,
return; return;
} }
connection = nm_connection_new ();
/* Need a UUID for the "always ask" stuff in the Dialog of Doom */ /* Need a UUID for the "always ask" stuff in the Dialog of Doom */
s_con = (NMSettingConnection *) nm_setting_connection_new (); s_con = (NMSettingConnection *) nm_setting_connection_new ();
uuid = nm_utils_uuid_generate (); uuid = nm_utils_uuid_generate ();