NetworkManager/src/devices
Thomas Haller dd2ce3dfbc core: fix waiting for bringing up/taking down device
This fixes a regression introduced in 5074898591.
The while loop did only refetch the cached value (because the glib main loop
was blocked and only the cached device flags were checked).

Also, instead on relying of g_usleep(), wait until a maximum time of waiting
is expired. The duration of g_usleep() might not be very accurate.

Also, do no longer check the cached device state before setting the
device flag. The cache might be out of date, so we just set the flag.

https://bugzilla.gnome.org/show_bug.cgi?id=724363

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-02-23 22:31:49 +01:00
..
wimax api/wimax: add Nsps (Network Service Providers) property 2014-01-23 17:34:12 -06:00
nm-device-adsl.c core: minor code cleanup to use preprocessor constants 2013-08-12 13:31:33 -05:00
nm-device-adsl.h core: move carrier handling to NMDevice 2013-05-20 16:38:33 -03:00
nm-device-bond.c core: make assumed activations go through all the stages 2013-11-08 16:46:45 -06:00
nm-device-bond.h core: move software device creation logic out of NMManager 2013-09-12 18:34:23 -04:00
nm-device-bridge.c core: make assumed activations go through all the stages 2013-11-08 16:46:45 -06:00
nm-device-bridge.h core: support slave devices in nm_platform_generate_connection() 2013-11-08 16:46:43 -06:00
nm-device-bt.c mobile: only change state to NEED_AUTH during activation (rh #1058308) 2014-02-21 09:45:06 -06:00
nm-device-bt.h bluez: pass the NMBluezDevice down to the NMDeviceBt 2013-09-25 21:01:03 +02:00
nm-device-ethernet.c core: use nm_utils_get_monotonic_timestamp_s for nm-device-ethernet.c (last_pppoe_time) 2014-01-30 19:54:10 +01:00
nm-device-ethernet.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-factory.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-generic.c core: updating a Generic setting should set the interface name 2013-12-02 15:32:31 -06:00
nm-device-generic.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-gre.c core: fix segfault on initialization of macvlan and gre device 2013-08-22 20:40:53 +02:00
nm-device-gre.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-infiniband.c core: remove redundant sysctl utilities 2013-11-15 10:49:43 -05:00
nm-device-infiniband.h core: move software device creation logic out of NMManager 2013-09-12 18:34:23 -04:00
nm-device-macvlan.c core: fix segfault on initialization of macvlan and gre device 2013-08-22 20:40:53 +02:00
nm-device-macvlan.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-modem.c mobile: only change state to NEED_AUTH during activation (rh #1058308) 2014-02-21 09:45:06 -06:00
nm-device-modem.h core: make nm-properties-changed-signal always export the right properties 2013-05-20 16:38:33 -03:00
nm-device-olpc-mesh.c core: ensure all devices chain up to parent act_stage1_prepare 2013-10-31 14:15:08 -05:00
nm-device-olpc-mesh.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-private.h core: improve handling of NPAR/SR-IOV devices (rh #804527) 2013-11-06 10:26:16 -05:00
nm-device-team.c logging: tweak logging-enabled functions 2013-12-20 09:57:13 -05:00
nm-device-team.h core: support slave devices in nm_platform_generate_connection() 2013-11-08 16:46:43 -06:00
nm-device-tun.c core: make NMDeviceTun 'mode' immutable and set at construct time 2014-01-30 11:53:32 +01:00
nm-device-tun.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-veth.c devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-veth.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-vlan.c coverity: fix various warnings detected with Coverity (fixup) 2013-11-13 18:43:18 +01:00
nm-device-vlan.h core: move software device creation logic out of NMManager 2013-09-12 18:34:23 -04:00
nm-device-wifi.c wifi: indicate to the kernel when critical protocols start/stop (bgo #723241) 2014-01-31 14:34:55 -06:00
nm-device-wifi.h api/wifi: add AccessPoints property 2014-01-23 17:34:12 -06:00
nm-device.c core: fix waiting for bringing up/taking down device 2014-02-23 22:31:49 +01:00
nm-device.h core: fix waiting for bringing up/taking down device 2014-02-23 22:31:49 +01:00