public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] Typo fix in tsec.c
@ 2007-09-10 18:54 urwithsughosh at gmail.com
  2007-09-11  6:11 ` Andy Fleming
  2007-09-15 19:42 ` Wolfgang Denk
  0 siblings, 2 replies; 3+ messages in thread
From: urwithsughosh at gmail.com @ 2007-09-10 18:54 UTC (permalink / raw)
  To: u-boot

Hello, 
   Fixup for the break statement in wrong place.

-- 
sughosh


diff --git a/drivers/tsec.c b/drivers/tsec.c
index 6bca4dc..4ff3339 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;

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-09-15 19:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-10 18:54 [U-Boot-Users] [PATCH] Typo fix in tsec.c urwithsughosh at gmail.com
2007-09-11  6:11 ` Andy Fleming
2007-09-15 19:42 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox