]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: phy_support_sym_pause: Clear Asym Pause
authorAndrew Lunn <andrew@lunn.ch>
Sat, 20 Oct 2018 20:41:28 +0000 (22:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Oct 2018 02:38:22 +0000 (19:38 -0700)
commit85cf6926fe6e3e426c60dba36c6007fbb5ba8b0a
tree88c137a8ce369e568b5800f0ffea9503e5618f95
parent0d50b8c9c1c9a3d2e9babe69ea72c922abb27be2
net: phy: phy_support_sym_pause: Clear Asym Pause

When indicating the MAC supports Symmetric Pause, clear the Asymmetric
Pause bit, which could of been already set is the PHY supports it.

Reported-by: Labbe Corentin <clabbe@baylibre.com>
Fixes: aea2b6367242 ("net: ethernet: Add helper for MACs which support pause")
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c