drivers: ethernet: eth_mcux: fixed sleep after carrier activation
The sleep after carrier activation was badly ported so the time was 1000 ms instead of 1 ms. Signed-off-by: Ibe Van de Veire <ibe.vandeveire@gmail.com>
This commit is contained in:
parent
0927250fd2
commit
5fd08a3348
1 changed files with 1 additions and 1 deletions
|
@ -556,7 +556,7 @@ static void eth_mcux_phy_event(struct eth_context *context)
|
|||
context->link_up = link_up;
|
||||
context->phy_state = eth_mcux_phy_state_read_duplex;
|
||||
net_eth_carrier_on(context->iface);
|
||||
k_msleep(USEC_PER_MSEC);
|
||||
k_msleep(1);
|
||||
#if defined(CONFIG_ETH_MCUX_NO_PHY_SMI)
|
||||
k_work_submit(&context->phy_work);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue