mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-06 03:30:31 +01:00
platform: ensure _nl_send_auto_with_seq() returns 0 on success
Just for consistency reason.
This commit is contained in:
parent
7102cde1ff
commit
0e164ac607
1 changed files with 3 additions and 2 deletions
|
|
@ -3309,9 +3309,10 @@ _nl_send_auto_with_seq (NMPlatform *platform,
|
|||
|
||||
nle = nl_send_auto (priv->nlh, nlmsg);
|
||||
|
||||
if (nle >= 0)
|
||||
if (nle >= 0) {
|
||||
nle = 0;
|
||||
delayed_action_schedule_WAIT_FOR_NL_RESPONSE (platform, seq, out_seq_result);
|
||||
else
|
||||
} else
|
||||
_LOGD ("netlink: send: failed sending message: %s (%d)", nl_geterror (nle), nle);
|
||||
|
||||
return nle;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue