net: hns: fix the bug about loopback
authoryankejian <yankejian@huawei.com>
Sat, 5 Mar 2016 06:10:42 +0000 (14:10 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Mar 2016 20:44:51 +0000 (15:44 -0500)
commit68c222a6bc90e4bf03df7ae36a9b196fa869928e
treee3aae13414d2f109a10baed3ecfc7b92db36b556
parent81422e672f8181d7ad1ee6c60c723aac649f538f
net: hns: fix the bug about loopback

It will always be passed if the soc is tested the loopback cases. This
patch will fix this bug.

Signed-off-by: Kejian Yan <yankejian@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h
drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h
drivers/net/ethernet/hisilicon/hns/hns_ethtool.c