03fdb297d6
Add Null pointer check in reset and stop endpoint command handle function to avoid Null pointer exception. Fllow xHCI spec 4.6.8 and 4.6.9, for stop and reset endpoint command, when the slot state is Disabled the error code should be Slot Not Enabled Error, when the slot have been enabled by an Enable Slot Command the error code should be Context State Error. Tracked-On: #5066 Signed-off-by: Long Liu <long.liu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com> Signed-off-by: Long Liu <long.liu@intel.com> |
||
---|---|---|
.. | ||
mmio | ||
pci | ||
platform | ||
block_if.c | ||
uart_core.c | ||
usb_core.c |