Skip to content
Snippets Groups Projects
Commit 2f70c49e authored by Heiko Schocher's avatar Heiko Schocher Committed by Ben Warren
Browse files

netloop: speed up NetLoop


NetLoop polls every cycle with getenv some environment variables.
This is horribly slow, especially when the environment is big.

This patch reads only the environment variables in NetLoop,
when they were changed.

Also moved the init part of the NetLoop function in a seperate
function.

Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
parent ad2d1639
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