summaryrefslogtreecommitdiff
path: root/lib/debug_info.c
diff options
context:
space:
mode:
authorTan, Tee Min <tee.min.tan@intel.com>2019-05-21 12:55:42 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-04 08:01:29 +0200
commit8d54fa13b3a1b706ca9f4c23a2127f43f5904abd (patch)
tree06d98973247220bb4ba3e5bb877fcdb533567c43 /lib/debug_info.c
parentafb01d9cbbb3cf105828e5f711448a22353c8160 (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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/debug_info.c')
0 files changed, 0 insertions, 0 deletions