\r
\r
/**\r
- Check and get the result of the prameter negotiation.\r
+ Check and get the result of the parameter negotiation.\r
\r
@param[in, out] Conn The connection in iSCSI login.\r
\r
IScsiGetValueByKeyFromList (KeyValueList, ISCSI_KEY_DATA_PDU_IN_ORDER);\r
IScsiGetValueByKeyFromList (KeyValueList, ISCSI_KEY_DATA_SEQUENCE_IN_ORDER);\r
\r
+ //\r
+ // Remove irrelevant parameter, if any.\r
+ //\r
+ if (Session->InitialR2T && !Session->ImmediateData) {\r
+ IScsiGetValueByKeyFromList (KeyValueList, ISCSI_KEY_FIRST_BURST_LENGTH);\r
+ }\r
\r
if (IsListEmpty (KeyValueList)) {\r
//\r
\r
\r
/**\r
- Fill the oprational parameters.\r
+ Fill the operational parameters.\r
\r
@param[in] Conn The connection in iSCSI login.\r
@param[in, out] Pdu The iSCSI login request PDU to fill the parameters.\r