net: hns: fix a bug for cycle index
authorQianqian Xie <xieqianqian@huawei.com>
Thu, 24 Mar 2016 11:08:00 +0000 (19:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Mar 2016 18:33:06 +0000 (14:33 -0400)
commit526131262223e9315bfd41213f5a76e792f184ff
tree9f34968aeb59a27378bc4960aee6fe0b8cdea0c2
parent071d36bf21bcc837be00cea55bcef8d129e7f609
net: hns: fix a bug for cycle index

The cycle index should be varied while the variable j is a fixed value.
The patch will fix this bug.

Signed-off-by: Qianqian Xie <xieqianqian@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c