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:
Owen W. Taylor 2014-09-04 13:11:41 -04:00
parent aa421e09d0
commit 8629632c4d

View file

@ -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);