diff options
author | Tan, Tee Min <tee.min.tan@intel.com> | 2019-05-21 12:55:42 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-20 20:54:17 -0400 |
commit | 46dfc3a54b4dcf9e8ff204280800f60618ec783b (patch) | |
tree | d4728ca1337e73546431510e9cdf2d876e88bf2f /virt/kvm | |
parent | 7036e621455f4e62781b69bb76c71fddcc8664bf (diff) |
net: stmmac: fix ethtool flow control not able to get/set
Currently ethtool was not able to get/set the flow control due to a
missing "!". It will always return -EOPNOTSUPP even the device is
flow control supported.
This patch fixes the condition check for ethtool flow control get/set
function for ETHTOOL_LINK_MODE_Asym_Pause_BIT.
Fixes: 3c1bcc8614db (“net: ethernet: Convert phydev advertize and supported from u32 to link mode”)
Signed-off-by: Tan, Tee Min <tee.min.tan@intel.com>
Reviewed-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Voon, Weifeng <weifeng.voon@intel.com@intel.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions