Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: