Skip to contentSkip to conversation

net: bcmgenet: increase WoL poll timeout

PATCH Applied [email protected] 3 participants 3 messages Mar 12 – Mar 14

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: bcmgenet: increase WoL poll timeout

From: Justin Chen <[email protected]>

Some systems require more than 5ms to get into WoL mode. Increase the timeout value to 50ms.

Fixes c51de7f3976b ("net: bcmgenet: add Wake-on-LAN support code")
---
 drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c +1 -1
index 8fb551288298..96d5d4f7f51f 100644
@@ -123,7 +123,7 @@ static int bcmgenet_poll_wol_status(struct bcmgenet_priv *priv)
 	while (!(bcmgenet_rbuf_readl(priv, RBUF_STATUS)
 		& RBUF_STATUS_WOL)) {
 		retries++;
-		if (retries > 5) {
+		if (retries > 50) {
 			netdev_crit(dev, "polling wol mode timeout\n");
 			return -ETIMEDOUT;
 		}
Signature · 1 line
2.34.1
#2 lore raw
In reply to [email protected]
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

Quoted 9 lines · On Thu, 12 Mar 2026 12:18:52 -0700 you wrote:

From: Justin Chen <[email protected]>

Some systems require more than 5ms to get into WoL mode. Increase the timeout value to 50ms.

Fixes c51de7f3976b ("net: bcmgenet: add Wake-on-LAN support code")

[...]

Here is the summary with links:
- [net] net: bcmgenet: increase WoL poll timeout

    https://git.kernel.org/netdev/net/c/6cfc3bc02b97

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html