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)
commit7f0abb1f0f2b110ec38ade73c241fcba30f9112a
treedc5c86d5f0b4b1732e5a33949b7a8d5bff8c3ea6
parentd3074cce904a26bb645d3ee7ab5026cf7ef0a3d1
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