aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDaode Huang <[email protected]>2016-11-09 18:13:49 +0000
committerDavid S. Miller <[email protected]>2016-11-10 11:45:37 -0500
commitda2ef1e5585bc733c4cccee8390259abeb27f0bf (patch)
tree15ad8a8e45fbfeb607efd9f2432ded3cc7f9f68e /include/linux
parent2e7c80577e40f0968840455d7cff613c2ded316b (diff)
net: hns: bug fix about restart auto-negotiation
When set auto-negotiation off and duplex half, if run "ethtool -r ethX" on port with phy, then the port will be failed to work. It should forbid to start auto-negotiation when auto-negotiate is off. This patch add the limited condition. Reported-by: Jinchuang Tian <[email protected]> Signed-off-by: Daode Huang <[email protected]> Reviewed-by: Yisen Zhuang <[email protected]> Reviewed-by: lipeng <[email protected]> Signed-off-by: Salil Mehta <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions