sd-rtnl: rtnl_call - don't dispatch wqueue after timeout has passed

Only a minor change as the timeout would be hit soon thereafetr at the next loop.
This commit is contained in:
Tom Gundersen
2014-12-29 01:59:49 +01:00
parent f55dc7c96e
commit b551ddd380
+2
View File
@@ -701,6 +701,8 @@ int sd_rtnl_call(sd_rtnl *rtnl,
r = rtnl_poll(rtnl, true, left);
if (r < 0)
return r;
else if (r == 0)
return -ETIMEDOUT;
r = dispatch_wqueue(rtnl);
if (r < 0)