Skip to content
Snippets Groups Projects
Commit a532e2f2 authored by Alexander Graf's avatar Alexander Graf Committed by Joe Hershberger
Browse files

net: Only access network devices after init


In the efi_loader main loop we call eth_rx() occasionally. This rx function
might end up calling into devices that haven't been initialized yet,
potentially resulting in a lot of transfer timeouts.

Instead, let's make sure the ethernet device is actually initialized before
reading from or writing to it.

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
Acked-by: Joe Hershberger's avatarJoe Hershberger <joe.hershberger@ni.com>
parent 17d413b2
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