Fix a bug that iSCSI UI can Not Change Authentication Type from None to CHAP.
authorFu Siyuan <siyuan.fu@intel.com>
Fri, 29 Nov 2013 03:37:32 +0000 (03:37 +0000)
committersfu5 <sfu5@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 29 Nov 2013 03:37:32 +0000 (03:37 +0000)
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Dong, Eric <eric.dong@intel.com>
Reviewed-by: Dong, Guo <guo.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14918 6f19259b-4bc3-4df7-8a09-765794883524

NetworkPkg/IScsiDxe/IScsiConfigNVDataStruc.h

index 9024b39..56ebb50 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Define NVData structures used by the iSCSI configuration component.\r
 \r
-Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2013, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -68,8 +68,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #define LUN_MIN_SIZE              1\r
 #define LUN_MAX_SIZE              20\r
 \r
-#define ISCSI_CHAP_UNI            1\r
-#define ISCSI_CHAP_MUTUAL         2\r
+#define ISCSI_CHAP_UNI            0\r
+#define ISCSI_CHAP_MUTUAL         1\r
 \r
 #define TARGET_PORT_MIN_NUM       0\r
 #define TARGET_PORT_MAX_NUM       65535\r