aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/renesas/ravb_main.c
diff options
context:
space:
mode:
authorIngo van Lil <inguin@gmx.de>2018-02-12 12:02:52 +0100
committerDavid S. Miller <davem@davemloft.net>2018-02-12 11:42:48 -0500
commit18a5b052bb1ae77453c5e50fffe3470ced9ed82f (patch)
treeaed020873e3b61aebaf5a5f7347cde3486b1f628 /drivers/net/ethernet/renesas/ravb_main.c
parenttcp: Honor the eor bit in tcp_mtu_probe (diff)
downloadlinux-dev-18a5b052bb1ae77453c5e50fffe3470ced9ed82f.tar.xz
linux-dev-18a5b052bb1ae77453c5e50fffe3470ced9ed82f.zip
net: phy: fix wrong mask to phy_modify()
When forcing a specific link mode, the PHY driver must clear the existing speed and duplex bits in BMCR while preserving some other control bits. This logic was accidentally inverted with the introduction of phy_modify(). Fixes: fea23fb591cc ("net: phy: convert read-modify-write to phy_modify()") Signed-off-by: Ingo van Lil <inguin@gmx.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/renesas/ravb_main.c')
0 files changed, 0 insertions, 0 deletions