• Adam Wujek's avatar
    userspace/wrsw_hal: don't run fsm at the first check of a link state · 9ec04830
    Adam Wujek authored
    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>
    9ec04830
hal_port_fsm.c 16.5 KB