wired: fix build_supplicant_config for wired - bgo:594038 lp:422597
This commit is contained in:

committed by
Alexander Sack

parent
85da54edd7
commit
e3ae3efc09
@@ -921,15 +921,14 @@ supplicant_mgr_state_cb (NMSupplicantInterface * iface,
|
|||||||
static NMSupplicantConfig *
|
static NMSupplicantConfig *
|
||||||
build_supplicant_config (NMDeviceEthernet *self)
|
build_supplicant_config (NMDeviceEthernet *self)
|
||||||
{
|
{
|
||||||
DBusGProxy *proxy;
|
|
||||||
const char *con_path;
|
const char *con_path;
|
||||||
NMSupplicantConfig *config = NULL;
|
NMSupplicantConfig *config = NULL;
|
||||||
NMSetting8021x *security;
|
NMSetting8021x *security;
|
||||||
NMConnection *connection;
|
NMConnection *connection;
|
||||||
|
|
||||||
connection = nm_act_request_get_connection (nm_device_get_act_request (NM_DEVICE (self)));
|
connection = nm_act_request_get_connection (nm_device_get_act_request (NM_DEVICE (self)));
|
||||||
proxy = g_object_get_data (G_OBJECT (connection), "dbus-proxy");
|
g_return_val_if_fail (connection, NULL);
|
||||||
con_path = dbus_g_proxy_get_path (proxy);
|
con_path = nm_connection_get_path (connection);
|
||||||
|
|
||||||
config = nm_supplicant_config_new ();
|
config = nm_supplicant_config_new ();
|
||||||
if (!config)
|
if (!config)
|
||||||
|
Reference in New Issue
Block a user