Skip to content
  • Maciej Lipinski's avatar
    [HAL] add timer in rx_setup FSM to wait for early_link_up to be cleared. · eed138d4
    Maciej Lipinski authored and Jean-Claude BAU's avatar Jean-Claude BAU committed
    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
    eed138d4