diff options
author | 2016-06-21 11:56:35 +0800 | |
---|---|---|
committer | 2016-06-21 04:51:55 -0400 | |
commit | d8a8371e8ba24e49d8e42d691a0c47e9cfc42cdd (patch) | |
tree | 27d6c9c60fbacd33191ec3bec7eb9b674632ce80 /net/tipc | |
parent | net: hns: delete redundancy ring enable operations (diff) | |
download | linux-dev-d8a8371e8ba24e49d8e42d691a0c47e9cfc42cdd.tar.xz linux-dev-d8a8371e8ba24e49d8e42d691a0c47e9cfc42cdd.zip |
net: hns: bug fix about led control logic when link down
The default driver sets anchor led bit to 0 when link down,
actually, the anchor bit should be set to 1, so fixes it when
link status is down.
Secondly, change the return value of cpld_set_led_id to 0, which
means leave the cpld to control led blink frequece other than the
driver itself.
Signed-off-by: Daode Huang <huangdaode@hisilicon.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions