mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
- Don't retry, if the request fails with SRB_STATUS_INVALID_REQUEST.
svn path=/trunk/; revision=8464
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: class2.c,v 1.48 2004/02/10 16:22:56 navaraf Exp $
|
||||
/* $Id: class2.c,v 1.49 2004/02/29 11:21:58 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
@@ -1228,6 +1228,11 @@ ScsiClassInterpretSenseInfo(IN PDEVICE_OBJECT DeviceObject,
|
||||
Retry = FALSE;
|
||||
break;
|
||||
|
||||
case SRB_STATUS_INVALID_REQUEST:
|
||||
*Status = STATUS_INVALID_DEVICE_REQUEST;
|
||||
Retry = FALSE;
|
||||
break;
|
||||
|
||||
default:
|
||||
DPRINT1("SCSI error (SRB status: %x)\n",
|
||||
SRB_STATUS(Srb->SrbStatus));
|
||||
|
||||
Reference in New Issue
Block a user