[U-Boot-Users] [PATCH] Typo fix in tsec.c

urwithsughosh at gmail.com urwithsughosh at gmail.com
Mon Sep 10 20:54:56 CEST 2007


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;





More information about the U-Boot mailing list