net: hisilicon fix a bug on Hisilicon Network Subsystem
authorhuangdaode <huangdaode@hisilicon.com>
Fri, 16 Oct 2015 03:54:17 +0000 (11:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Oct 2015 02:54:42 +0000 (19:54 -0700)
commitabc2b10eadc6587192adde6ab4050d27dda5ee8f
tree48e9c44f9d1c455d075ca539b693132d94e101e5
parent31bbd77189a82ed0b7f167d3b8b6561898fa8a80
net: hisilicon fix a bug on Hisilicon Network Subsystem

This patch fixes the wrong judgement of mac_id when get port num.

Signed-off-by: huangdaode <huangdaode@hisilicon.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