fsm.c: move assignement of is_new_state together
As a side effect, we get a reported "enter initializing" message
when wrs has a link-up event (because in that case state-change is
performed externally, not by a state that switches to another).
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Showing
Please
register
or
sign in
to comment