Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 374a0039 authored by Kristian Høgsberg's avatar Kristian Høgsberg Committed by Stefan Richter
Browse files

firewire: Complete SCSI commands with DID_BUS_BUSY when a bus reset happens.



This lets the SCSI stack retry the command when a SCSI command is
interrupted by a FireWire bus reset.

Signed-off-by: default avatarKristian Høgsberg <krh@redhat.com>
Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 993baca3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -830,7 +830,7 @@ complete_command_orb(struct sbp2_orb *base_orb, struct sbp2_status *status)
		 * or when sending the write (less likely). */
		fw_notify("no command orb status, rcode=%d\n",
			  orb->base.rcode);
		result = DID_ERROR;
		result = DID_BUS_BUSY;
	}

	dma_unmap_single(device->card->device, orb->base.request_bus,