Heiner Kallweit
b4010af981
net: phy: fix phy_validate_pause
...
We have valid scenarios where ETHTOOL_LINK_MODE_Pause_BIT doesn't
need to be supported. Therefore extend the first check to check
for rx_pause being set.
See also phy_set_asym_pause:
rx=0 and tx=1: advertise asym pause only
rx=0 and tx=0: stop advertising both pause modes
The fixed commit isn't wrong, it's just the one that introduced the
linkmode bitmaps.
Fixes: 3c1bcc8614
("net: ethernet: Convert phydev advertize and supported from u32 to link mode")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2019-05-05 01:04:10 -07:00
..
2019-01-22 20:53:08 -08:00
2019-02-25 14:16:22 -08:00
2019-02-25 14:16:22 -08:00
2019-02-25 14:16:22 -08:00
2019-01-22 20:57:03 -08:00
2019-02-22 15:30:03 -08:00
2019-01-22 20:53:08 -08:00
2019-01-22 20:53:08 -08:00
2019-01-22 20:59:18 -08:00
2019-01-22 20:53:08 -08:00
2019-01-22 20:53:08 -08:00
2019-01-22 20:53:08 -08:00
2019-03-26 11:24:47 -07:00
2019-01-22 20:53:08 -08:00
2019-03-03 21:47:57 -08:00
2019-01-22 20:53:08 -08:00
2019-02-06 09:52:43 -08:00
2017-11-02 11:10:55 +01:00
2019-02-08 15:00:17 -08:00
2019-03-21 13:21:14 -07:00
2019-01-22 20:58:40 -08:00
2019-03-02 12:54:35 -08:00
2019-01-22 20:53:08 -08:00
2019-02-24 22:29:14 -08:00
2019-01-22 20:53:08 -08:00
2019-01-22 20:53:08 -08:00
2019-03-23 20:55:21 -04:00
2019-01-22 20:53:08 -08:00
2019-02-27 12:52:20 -08:00
2019-03-03 21:47:57 -08:00
2019-04-26 12:06:14 -04:00
2019-02-24 12:06:19 -08:00
2019-01-22 20:53:08 -08:00
2019-01-22 20:53:08 -08:00
2019-01-22 20:53:08 -08:00
2019-01-22 20:58:40 -08:00
2019-01-22 20:53:08 -08:00
2017-11-02 11:10:55 +01:00
2019-01-22 20:59:18 -08:00
2019-01-22 20:59:18 -08:00
2019-01-22 20:58:40 -08:00
2019-01-22 20:57:03 -08:00
2019-01-22 20:53:08 -08:00
2019-01-22 20:53:08 -08:00
2019-01-22 20:58:40 -08:00
2018-05-16 14:20:36 -04:00
2019-01-22 20:53:08 -08:00
2019-01-22 20:59:18 -08:00
2019-01-22 20:53:08 -08:00
2019-02-27 12:52:20 -08:00
2019-01-22 20:59:18 -08:00
2019-01-22 20:59:18 -08:00
2019-01-22 20:58:40 -08:00
2019-01-22 20:59:18 -08:00
2019-01-22 20:53:08 -08:00
2019-01-22 20:53:08 -08:00
2019-03-15 15:33:43 -07:00
2019-03-02 12:54:35 -08:00
2018-11-11 09:36:56 -08:00
2019-01-22 20:53:08 -08:00
2019-01-22 20:53:08 -08:00
2019-01-22 20:53:08 -08:00
2019-05-05 01:04:10 -07:00
2019-01-22 20:53:08 -08:00
2019-03-04 13:10:10 -08:00
2019-02-17 15:21:38 -08:00
2019-03-03 21:47:42 -08:00
2019-03-02 12:54:35 -08:00
2019-01-22 20:53:08 -08:00
2019-02-24 12:06:19 -08:00
2019-01-22 20:57:03 -08:00
2019-02-08 15:11:25 -08:00
2019-02-15 12:38:38 -08:00
2019-02-08 15:11:25 -08:00
2019-01-22 20:53:08 -08:00
2019-04-23 10:44:44 -07:00
2019-01-22 20:53:08 -08:00
2019-02-24 22:28:15 -08:00
2017-11-02 11:10:55 +01:00
2019-03-03 21:47:57 -08:00
2019-01-22 20:53:08 -08:00
2019-01-22 20:53:08 -08:00
2019-02-20 00:34:07 -08:00