|
@@ -9968,8 +9968,7 @@ static int tg3_set_pauseparam(struct net_device *dev, struct ethtool_pauseparam
|
|
|
|
|
|
if (!(phydev->supported & SUPPORTED_Pause) ||
|
|
|
(!(phydev->supported & SUPPORTED_Asym_Pause) &&
|
|
|
- ((epause->rx_pause && !epause->tx_pause) ||
|
|
|
- (!epause->rx_pause && epause->tx_pause))))
|
|
|
+ (epause->rx_pause != epause->tx_pause)))
|
|
|
return -EINVAL;
|
|
|
|
|
|
tp->link_config.flowctrl = 0;
|