summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5844d3c)
Signed-off-by: Steven Barth <steven@midlink.org>
return UBUS_STATUS_INVALID_ARGUMENT;
up = blobmsg_get_bool(tb[NOTIFY_LINK_UP]);
return UBUS_STATUS_INVALID_ARGUMENT;
up = blobmsg_get_bool(tb[NOTIFY_LINK_UP]);
+ if (!up || state->sm == S_TEARDOWN) {
state->proto.proto_event(&state->proto, IFPEV_LINK_LOST);
return 0;
}
state->proto.proto_event(&state->proto, IFPEV_LINK_LOST);
return 0;
}