diff options
-rw-r--r-- | firmware/drivers/ata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index bb87357a1a..b245cbc09e 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c | |||
@@ -1151,7 +1151,7 @@ static int set_features(void) | |||
1151 | return -10 - i; | 1151 | return -10 - i; |
1152 | } | 1152 | } |
1153 | 1153 | ||
1154 | if((ATA_IN8(ATA_ALT_STATUS) & STATUS_ERR) && (i != 1)) { | 1154 | if((ATA_IN8(ATA_ALT_STATUS) & STATUS_ERR) && (features[i].subcommand != 0x05)) { |
1155 | /* some CF cards don't like advanced powermanagement | 1155 | /* some CF cards don't like advanced powermanagement |
1156 | even if they mark it as supported - go figure... */ | 1156 | even if they mark it as supported - go figure... */ |
1157 | if(ATA_IN8(ATA_ERROR) & ERROR_ABRT) { | 1157 | if(ATA_IN8(ATA_ERROR) & ERROR_ABRT) { |