]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg:Ping: Ping command hangs with intermittent packet losses
authorSubramanian, Sriram (EG Servers Platform SW) <sriram-s@hpe.com>
Thu, 7 Jul 2016 08:13:54 +0000 (01:13 -0700)
committerJaben Carsey <jaben.carsey@intel.com>
Thu, 7 Jul 2016 15:00:50 +0000 (08:00 -0700)
commit80f7a8f5f9d21f8315d39be0f5651ce7160594fc
treec8addf7703b1b1e1276b88f69cec0dc70fbcf631
parent87bcfe1303a9b52532d921689ae102c503623dcf
ShellPkg:Ping: Ping command hangs with intermittent packet losses

When we have intermittent loss of packets, ping command doesnt
return to Shell prompt. It keeps looping in the while (Status
==EFI_NOT_READY) since Private->RxCount will never reach
Private->SendNum. Addresses the issue with the use of a new varibale
in the PRIVATE structure.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hegde, Nagaraj P <nagaraj-p.hegde@hpe.com>
Reviewed-by: Sriram Subramanian <sriram-s@hpe.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c