]> 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)
commit6860926782f4bdbb4b6c04313c10c3d8ef874632
treedc5c86d5f0b4b1732e5a33949b7a8d5bff8c3ea6
parentef4ba5fbef4d2403af9456cb0e1b39ac57a1ce58
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