Mike Frysinger 7557d62870 net.lo: sleep *after* carrier check
For devices that are always connected (e.g. ethernet cards), the current
carrier always wastes time by sleeping for 1 second.  This is because the
code sleeps first, then checks for carrier.  Invert the order so that we
return quickly for devices already active.  For devices which are not yet
up, there shouldn't be any real difference.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-12-18 00:24:02 -05:00
..
2012-07-26 10:54:48 -05:00
2012-07-26 10:54:48 -05:00
2012-07-26 10:54:48 -05:00
2011-10-16 19:02:21 -04:00
2012-07-26 10:54:48 -05:00
2012-07-15 14:12:55 -05:00
2012-12-18 00:24:02 -05:00
2012-07-26 10:54:48 -05:00
2012-11-07 00:32:09 +00:00
2012-07-26 10:54:48 -05:00
2011-10-16 19:02:21 -04:00
2012-07-26 10:54:48 -05:00
2012-07-26 10:54:48 -05:00
2012-12-16 20:00:01 -06:00
2012-07-26 10:54:48 -05:00
2012-07-26 10:54:48 -05:00
2012-07-26 10:54:48 -05:00
2012-12-18 00:24:02 -05:00
2012-07-26 10:54:48 -05:00
2012-07-26 10:54:48 -05:00
2012-07-26 10:54:48 -05:00
2012-07-26 10:54:48 -05:00
2012-07-26 10:54:48 -05:00
2012-07-26 10:54:48 -05:00
2012-07-26 10:54:48 -05:00
2012-07-26 10:54:48 -05:00
2012-07-26 10:54:48 -05:00
2012-07-26 10:54:48 -05:00
2012-07-26 10:54:48 -05:00
2012-07-26 10:54:48 -05:00
2012-07-26 10:54:48 -05:00
2012-07-26 10:54:48 -05:00
2012-07-26 10:54:48 -05:00
2012-10-02 15:02:11 -05:00
2012-07-26 10:54:48 -05:00
2012-07-26 10:54:48 -05:00
2012-07-26 10:54:48 -05:00
2012-09-26 11:51:34 -05:00
2012-07-26 10:54:48 -05:00