diff options
author | Tan, Tee Min <[email protected]> | 2019-05-21 12:55:42 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-05-20 20:54:17 -0400 |
commit | 46dfc3a54b4dcf9e8ff204280800f60618ec783b (patch) | |
tree | d4728ca1337e73546431510e9cdf2d876e88bf2f /tools/perf/scripts/python/stat-cpi.py | |
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 <[email protected]>
Reviewed-by: Ong Boon Leong <[email protected]>
Signed-off-by: Voon, Weifeng <[email protected]@intel.com>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions