Commit e0d8496a authored by Constantin Baranov's avatar Constantin Baranov Committed by David S. Miller

niu: fix PHY template choice for 10G copper

Fixed a typo in niu_determine_phy_disposition() which resulted in
phy_template_1g_copper being selected for 10G/copper configuration.
Signed-off-by: default avatarConstantin Baranov <baranov@mercdev.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ff2ef902
......@@ -2456,7 +2456,7 @@ static int niu_determine_phy_disposition(struct niu *np)
case NIU_FLAGS_10G:
/* 10G copper */
tp = &phy_template_1g_copper;
tp = &phy_template_10g_copper;
break;
case NIU_FLAGS_FIBER:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment