Skip to content

Commit

Permalink
niu: fix PHY template choice for 10G copper
Browse files Browse the repository at this point in the history
Fixed a typo in niu_determine_phy_disposition() which resulted in
phy_template_1g_copper being selected for 10G/copper configuration.

Signed-off-by: Constantin Baranov <baranov@mercdev.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Constantin Baranov authored and David S. Miller committed Feb 19, 2009
1 parent ff2ef90 commit e0d8496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/niu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e0d8496

Please sign in to comment.