• Maciej Lipinski's avatar
    [HAL] add timer in rx_setup FSM to wait for early_link_up to be cleared. · 1d9f2386
    Maciej Lipinski authored
    After unplugging fiber, the early_link_up flag is cleared a bit later
    than the detection of link_down happens. This resulted in the tx_setup
    state machine trying to calibrate unplugged link. The things worked
    because the FSM would hang in wait_lock state and then timeout. Yet,
    this did not seem the best solution. So, I added timeout to wait
    for the early_link_up bit to be cleared
    1d9f2386
hal_shmem.h 5.47 KB