diff options
Diffstat (limited to 'drivers/net/cxgb3/xgmac.c')
-rw-r--r-- | drivers/net/cxgb3/xgmac.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/cxgb3/xgmac.c b/drivers/net/cxgb3/xgmac.c index ff9e9dcbd87d..bcb5bc4e649b 100644 --- a/drivers/net/cxgb3/xgmac.c +++ b/drivers/net/cxgb3/xgmac.c | |||
@@ -522,10 +522,7 @@ int t3b2_mac_watchdog_task(struct cmac *mac) | |||
522 | goto rxcheck; | 522 | goto rxcheck; |
523 | } | 523 | } |
524 | 524 | ||
525 | if (((tx_tcnt != mac->tx_tcnt) && | 525 | if ((tx_tcnt != mac->tx_tcnt) && (mac->tx_xcnt == 0)) { |
526 | (tx_xcnt == 0) && (mac->tx_xcnt == 0)) || | ||
527 | ((mac->tx_mcnt == tx_mcnt) && | ||
528 | (tx_xcnt != 0) && (mac->tx_xcnt != 0))) { | ||
529 | if (mac->toggle_cnt > 4) { | 526 | if (mac->toggle_cnt > 4) { |
530 | status = 2; | 527 | status = 2; |
531 | goto out; | 528 | goto out; |