]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
Typo fix in tsec.c
authorurwithsughosh@gmail.com <urwithsughosh@gmail.com>
Mon, 10 Sep 2007 18:54:56 +0000 (14:54 -0400)
committerWolfgang Denk <wd@denx.de>
Sat, 15 Sep 2007 19:41:58 +0000 (21:41 +0200)
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>

drivers/tsec.c

index 6bca4dc0f333a7a2dc4a703065372a38f8eb87ff..4ff3339c7de40d64955b9937470e923f2f939daa 100644 (file)
@@ -1262,10 +1262,10 @@ uint mii_parse_lxt971_sr2(uint mii_reg, struct tsec_private *priv)
                case MIIM_LXT971_SR2_100HDX:
                        priv->speed = 100;
                        priv->duplexity = 0;
+                       break;
                default:
                        priv->speed = 100;
                        priv->duplexity = 1;
-                       break;
                }
        } else {
                priv->speed = 0;