Skip to content
Snippets Groups Projects
Commit a44ee246 authored by Andre Przywara's avatar Andre Przywara Committed by Joe Hershberger
Browse files

net: phy: Fix overlong PHY timeout


Commit 27c3f70f ("net: phy: Increase link up delay in
genphy_update_link()") increased the per-iteration waiting time from
1ms to 50ms, without adjusting the timeout counter. This lead to the
timeout increasing from the typical 4 seconds to over three minutes.

Adjust the timeout counter evaluation by that factor of 50 to bring the
timeout back to the intended value.

Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
Fixes: net: phy: Increase link up delay in genphy_update_link() ("27c3f70f")
Reviewed-by: default avatarStefan Roese <sr@denx.de>
Tested-by: default avatarMatthias Brugger <mbrugger@suse.com>
Tested-by: default avatarSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 21e4ee3c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment