summaryrefslogtreecommitdiff
path: root/drivers/net/pfe_eth/pfe_eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pfe_eth/pfe_eth.c')
-rw-r--r--drivers/net/pfe_eth/pfe_eth.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/pfe_eth/pfe_eth.c b/drivers/net/pfe_eth/pfe_eth.c
index e49bf4a6f3..b74974c99a 100644
--- a/drivers/net/pfe_eth/pfe_eth.c
+++ b/drivers/net/pfe_eth/pfe_eth.c
@@ -176,9 +176,10 @@ static int pfe_eth_send(struct udevice *dev, void *packet, int length)
udelay(100);
i++;
- if (i == 30000)
+ if (i == 30000) {
printf("Tx timeout, send failed\n");
- break;
+ break;
+ }
}
return 0;