|
|
@@ -516,10 +516,8 @@ static void doModeSense(
|
|
|
|
|
|
idx += modeSenseCDCapabilitiesPage(pc, idx, pageCode, &pageFound);
|
|
|
|
|
|
- if ((
|
|
|
- (scsiDev.target->cfg->quirks == S2S_CFG_QUIRKS_APPLE) ||
|
|
|
- (idx + sizeof(AppleVendorPage) <= allocLength)
|
|
|
- ) &&
|
|
|
+ if ((scsiDev.target->cfg->quirks == S2S_CFG_QUIRKS_APPLE) &&
|
|
|
+ (idx + sizeof(AppleVendorPage) <= allocLength) &&
|
|
|
(pageCode == 0x30 || pageCode == 0x3F))
|
|
|
{
|
|
|
pageFound = 1;
|