Anthony Felice 4b5b71f770 net: tc35815: Fix phydev supported/advertising mask
Commit 3c1bcc8614db ("net: ethernet: Convert phydev advertize and
supported from u32 to link mode") updated ethernet drivers to use a
linkmode bitmap. It mistakenly dropped a bitwise negation in the
tc35815 ethernet driver on a bitmask to set the supported/advertising
flags.

Found by Anthony via code inspection, not tested as I do not have the
required hardware.

Fixes: 3c1bcc8614db ("net: ethernet: Convert phydev advertize and supported from u32 to link mode")
Signed-off-by: Anthony Felice <tony.felice@timesys.com>
Reviewed-by: Akshay Bhat <akshay.bhat@timesys.com>
Reviewed-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-04-27 11:52:10 -07:00
..
2020-02-24 11:24:47 -08:00
2020-02-24 11:24:47 -08:00
2020-03-03 17:54:54 -08:00
2020-04-12 21:20:27 -07:00
2020-04-14 16:30:14 -07:00
2020-03-03 17:54:55 -08:00