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

Commit 6f106233 authored by Jeff Garzik's avatar Jeff Garzik
Browse files

[libata] fix ATAPI-enable typo

Dumb typo spotted by Mark Lord.
parent 1623c81e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1470,7 +1470,7 @@ ata_scsi_find_dev(struct ata_port *ap, struct scsi_device *scsidev)
	if (unlikely(!ata_dev_present(dev)))
		return NULL;

	if (atapi_enabled) {
	if (!atapi_enabled) {
		if (unlikely(dev->class == ATA_DEV_ATAPI))
			return NULL;
	}