From f4508267c9b5524c1ba9dffde16b1ab1dcd1f857 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 12 Apr 2012 15:54:13 +0200 Subject: proto-shell: set sm to S_IDLE once the interface is up --- proto-shell.c | 1 + 1 file changed, 1 insertion(+) diff --git a/proto-shell.c b/proto-shell.c index aba7298..4cff091 100644 --- a/proto-shell.c +++ b/proto-shell.c @@ -338,6 +338,7 @@ proto_shell_update_link(struct proto_shell_state *state, struct blob_attr *data, interface_update_complete(state->proto.iface); state->proto.proto_event(&state->proto, IFPEV_UP); + state->sm = S_IDLE; if ((cur = tb[NOTIFY_DATA])) proto_shell_parse_data(state->proto.iface, cur); -- cgit v1.2.3