diff options
-rw-r--r-- | os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c b/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c index ae553b62d..b1f9c15ac 100644 --- a/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c +++ b/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c @@ -162,6 +162,8 @@ static void mii_find_phy(MACDriver *macp) { n--;
} while (n > 0U);
#endif
+ macp->phyaddr = 0;
+ return;
/* Wrong or defective board.*/
osalSysHalt("MAC failure");
}
|