Don't change error code if it returned hrJERR

This commit is contained in:
Kristian Sloth Lauszus 2013-10-08 19:51:20 +02:00
parent 81ed31e1fe
commit 7a02a07620

View file

@ -110,6 +110,7 @@ FailGetDevDescr:
#ifdef DEBUG_USB_HOST #ifdef DEBUG_USB_HOST
NotifyFailGetDevDescr(rcode); NotifyFailGetDevDescr(rcode);
#endif #endif
if (rcode != hrJERR)
rcode = USB_ERROR_FailGetDevDescr; rcode = USB_ERROR_FailGetDevDescr;
Release(); Release();
return rcode; return rcode;