diff --git a/lib/SCSI2SD/src/firmware/scsi.c b/lib/SCSI2SD/src/firmware/scsi.c index 03bc90af..3d17a4c3 100755 --- a/lib/SCSI2SD/src/firmware/scsi.c +++ b/lib/SCSI2SD/src/firmware/scsi.c @@ -562,14 +562,14 @@ static void process_Command() // on receiving the unit attention response on boot, thus // triggering another unit attention condition. else if (scsiDev.target->unitAttention && - scsiDev.target->unitAttention_stop == 0 && + scsiDev.target->unitAttentionStop == 0 && ((scsiDev.boardCfg.flags & S2S_CFG_ENABLE_UNIT_ATTENTION) || (scsiDev.target->cfg->quirks == S2S_CFG_QUIRKS_EWSD))) { /* EWSD requires unitAttention to be sent only once. */ if (scsiDev.target->cfg->quirks == S2S_CFG_QUIRKS_EWSD) { - scsiDev.target->unitAttention_stop = 1; + scsiDev.target->unitAttentionStop = 1; } scsiDev.target->sense.code = UNIT_ATTENTION; scsiDev.target->sense.asc = scsiDev.target->unitAttention; diff --git a/lib/SCSI2SD/src/firmware/scsi.h b/lib/SCSI2SD/src/firmware/scsi.h index 14c772b9..2de3dd30 100755 --- a/lib/SCSI2SD/src/firmware/scsi.h +++ b/lib/SCSI2SD/src/firmware/scsi.h @@ -102,7 +102,7 @@ typedef struct ScsiSense sense; uint16_t unitAttention; // Set to the sense qualifier key to be returned. - uint8_t unitAttention_stop; // Indicates if unit attention has to be stopped. + uint8_t unitAttentionStop; // Indicates if unit attention has to be stopped. // Only let the reserved initiator talk to us. // A 3rd party may be sending the RESERVE/RELEASE commands