From: Fu Siyuan Date: Fri, 29 Nov 2013 03:37:32 +0000 (+0000) Subject: Fix a bug that iSCSI UI can Not Change Authentication Type from None to CHAP. X-Git-Tag: edk2-stable201903~12039 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=99e5617bddd8042c2b5fb6e8fd2cd41259db1eb5 Fix a bug that iSCSI UI can Not Change Authentication Type from None to CHAP. Signed-off-by: Fu Siyuan Reviewed-by: Dong, Eric Reviewed-by: Dong, Guo git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14918 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/NetworkPkg/IScsiDxe/IScsiConfigNVDataStruc.h b/NetworkPkg/IScsiDxe/IScsiConfigNVDataStruc.h index 9024b398db..56ebb503c0 100644 --- a/NetworkPkg/IScsiDxe/IScsiConfigNVDataStruc.h +++ b/NetworkPkg/IScsiDxe/IScsiConfigNVDataStruc.h @@ -1,7 +1,7 @@ /** @file Define NVData structures used by the iSCSI configuration component. -Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.
+Copyright (c) 2004 - 2013, 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 @@ -68,8 +68,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #define LUN_MIN_SIZE 1 #define LUN_MAX_SIZE 20 -#define ISCSI_CHAP_UNI 1 -#define ISCSI_CHAP_MUTUAL 2 +#define ISCSI_CHAP_UNI 0 +#define ISCSI_CHAP_MUTUAL 1 #define TARGET_PORT_MIN_NUM 0 #define TARGET_PORT_MAX_NUM 65535