Message ID | 20190604102536.4456-1-xypron.glpk@gmx.de |
---|---|
State | Rejected, archived |
Delegated to: | Heinrich Schuchardt |
Headers | show |
Series | [U-Boot,1/1] efi_loader: avoid lost network packages | expand |
diff --git a/lib/efi_loader/efi_net.c b/lib/efi_loader/efi_net.c index d71c663068..3a598067db 100644 --- a/lib/efi_loader/efi_net.c +++ b/lib/efi_loader/efi_net.c @@ -517,6 +517,7 @@ static efi_status_t EFIAPI efi_net_receive memcpy(buffer, net_rx_packet, net_rx_packet_len); *buffer_size = net_rx_packet_len; new_rx_packet = false; + efi_timer_check(); out: return EFI_EXIT(ret); }
Prior to the patch booting an OrangePi PC via iPXE failed due to poor network connection. After receiving a packet immediately check if another packet is available. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> --- lib/efi_loader/efi_net.c | 1 + 1 file changed, 1 insertion(+) -- 2.20.1