ethernet: corrected typo in ethernet/phy_ksz8051mll.c to include setting the speed to 100M in case of 100M Half Duplex

This commit is contained in:
brabo 2014-12-13 22:13:08 +01:00 committed by Frantisek Burian
parent f52a39cc48
commit 2429159203

2
lib/ethernet/phy_ksz8051mll.c Normal file → Executable file
View File

@ -66,7 +66,7 @@ void phy_autoneg_force(enum phy_status mode)
bst |= PHY_REG_BCR_FD;
}
if ((mode == LINK_FD_100M) || (mode == LINK_FD_100M)) {
if ((mode == LINK_FD_100M) || (mode == LINK_HD_100M)) {
bst |= PHY_REG_BCR_100M;
}