Skip to content

Commit 4ab9ada

Browse files
Luo Jiekuba-moo
authored andcommitted
net: phy: qcom: qca808x: Fix WoL issue by utilizing at8031_set_wol()
The previous commit unintentionally removed the code responsible for enabling WoL via MMD3 register 0x8012 BIT5. As a result, Wake-on-LAN (WoL) support for the QCA808X PHY is no longer functional. The WoL (Wake-on-LAN) feature for the QCA808X PHY is enabled via MMD3 register 0x8012, BIT5. This implementation is aligned with the approach used in at8031_set_wol(). Fixes: e58f302 ("net: phy: at803x: fix the wol setting functions") Signed-off-by: Luo Jie <[email protected]> Reviewed-by: Maxime Chevallier <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent e31cf3c commit 4ab9ada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/phy/qcom/qca808x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ static struct phy_driver qca808x_driver[] = {
633633
.handle_interrupt = at803x_handle_interrupt,
634634
.get_tunable = at803x_get_tunable,
635635
.set_tunable = at803x_set_tunable,
636-
.set_wol = at803x_set_wol,
636+
.set_wol = at8031_set_wol,
637637
.get_wol = at803x_get_wol,
638638
.get_features = qca808x_get_features,
639639
.config_aneg = qca808x_config_aneg,

0 commit comments

Comments
 (0)