Skip to content
Commit b41757d3 authored by Jukka Rissanen's avatar Jukka Rissanen Committed by Anas Nashif
Browse files

eth: mcux: Do not set carrier ON if interface is not known



It is possible that the network interface is not yet initialized
when status of the PHY changes. In this case we must not call
net_eth_carrier_on() as that will cause a crash.
This was noticed with mimxrt1050_evk board.

Fixes: #21257

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent b3ef76cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment