netifd: Link layer state awareness support on interface level
[project/netifd.git] / proto-shell.c
index 1a69c19..37859f4 100644 (file)
@@ -158,6 +158,7 @@ proto_shell_handler(struct interface_proto_state *proto,
                action = "setup";
                state->last_error = -1;
                proto_shell_clear_host_dep(state);
+               state->sm = S_SETUP;
        } else {
                if (state->sm == S_TEARDOWN)
                        return 0;