Commit 9ec04830 authored by Adam Wujek's avatar Adam Wujek

userspace/wrsw_hal: don't run fsm at the first check of a link state

Running fsm_generic_run in hal_port_state_fsm_init_all delays setting
shmemState as HAL_SHMEM_STATE_INITITALIZED, which causes the timeout
(and exit) at the startup of wrsw_rtud. wrsw_rtud is restarted by
monit. However, wrs_vlans is run only once by init and is not able to setup
correctly VLAN configurationi when wrsw_rtud is not running.
The issue is related to the suspected bug #261.
Signed-off-by: 's avatarAdam Wujek <dev_public@wujek.eu>
parent 9b3e6783
Pipeline #4182 failed with stage
in 7 seconds
......@@ -407,8 +407,6 @@ void hal_port_state_fsm_init_all( struct hal_port_state * ports, halGlobalLPDC_t
* It will be considered as invalid */
ps->evt_linkUp = -1;
}
fsm_generic_run(&ps->fsm);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment