/* Build and send the iSCSI login request to the iSCSI target according to the current login stage. */
EFI_STATUS IScsiSendLoginReq(IN ISCSI_CONNECTION *Conn)
/* Build and send the iSCSI login request to the iSCSI target according to the current login stage. */
EFI_STATUS IScsiSendLoginReq(IN ISCSI_CONNECTION *Conn)
{
  NET_BUF     *Pdu;
  EFI_STATUS  Status;
  Pdu = IScsiPrepareLoginReq (Conn);
  if (Pdu == NULL) {
    return EFI_DEVICE_ERROR;
  }
  Status = TcpIoTransmit (&Conn->TcpIo, Pdu);
  NetbufFree (Pdu);
  return Status;
}