Typo fix in tsec.c
Fixup for the break statement in wrong place. [Patch by urwithsughosh@gmail.com] Acked-by: Andy Fleming <afleming@freescale.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
5bd7fe9aeb
commit
cd2d1602c5
|
@ -1262,10 +1262,10 @@ uint mii_parse_lxt971_sr2(uint mii_reg, struct tsec_private *priv)
|
||||||
case MIIM_LXT971_SR2_100HDX:
|
case MIIM_LXT971_SR2_100HDX:
|
||||||
priv->speed = 100;
|
priv->speed = 100;
|
||||||
priv->duplexity = 0;
|
priv->duplexity = 0;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
priv->speed = 100;
|
priv->speed = 100;
|
||||||
priv->duplexity = 1;
|
priv->duplexity = 1;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
priv->speed = 0;
|
priv->speed = 0;
|
||||||
|
|
Loading…
Reference in New Issue