Skip to content
/ linux Public

Commit 6995dcc

Browse files
Ryceancurrygregkh
authored andcommitted
net: bcmgenet: increase WoL poll timeout
[ Upstream commit 6cfc3bc ] Some systems require more than 5ms to get into WoL mode. Increase the timeout value to 50ms. Fixes: c51de7f ("net: bcmgenet: add Wake-on-LAN support code") Signed-off-by: Justin Chen <justin.chen@broadcom.com> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Link: https://patch.msgid.link/20260312191852.3904571-1-justin.chen@broadcom.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 683be1d commit 6995dcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ static int bcmgenet_poll_wol_status(struct bcmgenet_priv *priv)
123123
while (!(bcmgenet_rbuf_readl(priv, RBUF_STATUS)
124124
& RBUF_STATUS_WOL)) {
125125
retries++;
126-
if (retries > 5) {
126+
if (retries > 50) {
127127
netdev_crit(dev, "polling wol mode timeout\n");
128128
return -ETIMEDOUT;
129129
}

0 commit comments

Comments
 (0)