From: urwithsughosh@gmail.com <urwithsughosh@gmail.com>
Date: Mon, 10 Sep 2007 18:54:56 +0000 (-0400)
Subject: Typo fix in tsec.c
X-Git-Tag: v2025.01-rc5-pxa1908~22707^2~5^2~6
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/index.html?a=commitdiff_plain;h=cd2d1602c54cc6957bdef3872272a4b264893960;p=u-boot.git

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>
---

diff --git a/drivers/tsec.c b/drivers/tsec.c
index 6bca4dc0f3..4ff3339c7d 100644
--- a/drivers/tsec.c
+++ b/drivers/tsec.c
@@ -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;