network: Fix build
Last patch refers to nm_device instead of the actual variable device. https://bugzilla.gnome.org/show_bug.cgi?id=723643
This commit is contained in:
parent
aa421e09d0
commit
8629632c4d
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ device_is_hotspot (NetDeviceWifi *device_wifi)
|
|||
NMDevice *device;
|
||||
|
||||
device = net_device_get_nm_device (NET_DEVICE (device_wifi));
|
||||
if (nm_device_get_active_connection (nm_device) == NULL)
|
||||
if (nm_device_get_active_connection (device) == NULL)
|
||||
return FALSE;
|
||||
|
||||
c = find_connection_for_device (device_wifi, device);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue