mirror of
https://github.com/apache/nuttx.git
synced 2026-05-15 13:16:28 +08:00
b8dc64ffed
The ifstate is already set in enc_ifup -> enc_reset -> enc_linkstatus The ifstate after this call is either ENCSTATE_RUNNING or ENCSTATE_UP If ifstate is ENCSTATE_RUNNING, it would be wrong to set it to ENCSTATE_UP; this would lead to enc_txavail never invoking the driver callback, causing very long latencies in sending. Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>