mirror of https://github.com/acidanthera/audk.git
update the check condition of PASS THRU interface to pass Uefi sct test.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8326 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
8567300ae4
commit
f035af2e40
|
@ -65,7 +65,13 @@ IScsiExtScsiPassThruFunction (
|
|||
IN EFI_EVENT Event OPTIONAL
|
||||
)
|
||||
{
|
||||
if (Target[0] != 0) {
|
||||
ISCSI_DRIVER_DATA *Private;
|
||||
ISCSI_SESSION_CONFIG_NVDATA *ConfigNvData;
|
||||
|
||||
Private = ISCSI_DRIVER_DATA_FROM_EXT_SCSI_PASS_THRU (This);
|
||||
ConfigNvData = &Private->Session.ConfigData.NvData;
|
||||
|
||||
if (Target[0] != 0 || (CompareMem (&Lun, ConfigNvData->BootLun, sizeof (UINT64)) != 0)) {
|
||||
return EFI_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue