MdeModulePkg/XhciDxe: Check timeout URB again after stopping endpoint
authorRuiyu Ni <ruiyu.ni@intel.com>
Mon, 3 Jul 2017 09:53:49 +0000 (17:53 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Wed, 5 Jul 2017 03:31:06 +0000 (11:31 +0800)
commit49be9c3c20cea7477b9c9e390c9f97735760e216
tree431c65ae8da94951ddc1748fbe369c077fb2a028
parent41fb8ce93930c33931a54550b12e1247fb86c805
MdeModulePkg/XhciDxe: Check timeout URB again after stopping endpoint

This fixes BULK data loss when transfer is detected as timeout but
finished just before stopping endpoint.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c
MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h
MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c
MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.h