]> git.baikalelectronics.ru Git - kernel.git/commit
net: hisilicon net: fix a bug about led
authorlipeng <lipeng321@huawei.com>
Wed, 14 Oct 2015 02:28:57 +0000 (10:28 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Oct 2015 01:41:50 +0000 (18:41 -0700)
commitcb513ec81cc15aa1f34c1762e4c4ffce1f376095
treedc5c86d5f0b4b1732e5a33949b7a8d5bff8c3ea6
parent7944d34326d52960b9bb2e7faeca0b24dca35558
net: hisilicon net: fix a bug about led

this patch fixes a bug in hns driver. the link led is on at the beginning,
but at this time the ethernet port is on down status. it needs to reset
the led status on init sequence.

Signed-off-by: lipeng <lipeng321@huawei.com>
Signed-off-by: yankejian <yankejian@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c