X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=NetworkPkg%2FIScsiDxe%2FIScsiMisc.c;h=46e97a9fcd66be2e09e16e491b60a7f6f6b18dc9;hp=f3ecdb5f6a1de4d24e6994bd944cc669c382b77e;hb=bf4a3dbd4751b6411bdfc98bf3ac2c4f928bdfdf;hpb=650b87cc1be916e416965d5f58db921819cc199b diff --git a/NetworkPkg/IScsiDxe/IScsiMisc.c b/NetworkPkg/IScsiDxe/IScsiMisc.c index f3ecdb5f6a..46e97a9fcd 100644 --- a/NetworkPkg/IScsiDxe/IScsiMisc.c +++ b/NetworkPkg/IScsiDxe/IScsiMisc.c @@ -1,7 +1,7 @@ /** @file Miscellaneous routines for iSCSI driver. -Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.
+Copyright (c) 2004 - 2012, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -1076,10 +1076,12 @@ IScsiGetConfigData ( (UINTN) AttemptConfigOrder[Index] ); - AttemptConfigData = (ISCSI_ATTEMPT_CONFIG_NVDATA *) GetVariable ( - mPrivate->PortString, - &gEfiIScsiInitiatorNameProtocolGuid - ); + GetVariable2 ( + mPrivate->PortString, + &gEfiIScsiInitiatorNameProtocolGuid, + &AttemptConfigData, + NULL + ); if (AttemptConfigData == NULL) { continue;