Skip to content

Commit

Permalink
net: phy: dp83826: disable WOL at init
Browse files Browse the repository at this point in the history
Commit d1d7712 ("net: phy: dp83826: support TX data voltage tuning")
introduced a regression in that WOL is not disabled by default for DP83826.
WOL should normally be enabled through ethtool.

Fixes: d1d7712 ("net: phy: dp83826: support TX data voltage tuning")
Signed-off-by: Catalin Popescu <catalin.popescu@leica-geosystems.com>
Link: https://lore.kernel.org/r/20240226162339.696461-1-catalin.popescu@leica-geosystems.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Catalin Popescu authored and Jakub Kicinski committed Feb 29, 2024
1 parent d4f01c5 commit e83ddce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/phy/dp83822.c
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ static int dp83826_config_init(struct phy_device *phydev)
return ret;
}

return 0;
return dp8382x_disable_wol(phydev);
}

static int dp8382x_config_init(struct phy_device *phydev)
Expand Down

0 comments on commit e83ddce

Please sign in to comment.