Power control support for 87.5GHz spectrum width
[transportpce.git] / common / src / main / java / org / opendaylight / transportpce / common / fixedflex / GridUtils.java
index b41f6ca63bf16d3d58c97a70e0114fdfe8a995f0..a38897eaac8e851e90998f285d88a7e380068f6e 100644 (file)
@@ -203,8 +203,8 @@ public final class GridUtils {
                     .getCentralFrequency(spectrumInformation.getMinFrequency(),
                             spectrumInformation.getMaxFrequency()).getValue());
         }
-        if (input.getWidth() != null) {
-            spectrumInformation.setWidth(input.getWidth().getValue());
+        if (input.getNmcWidth() != null) {
+            spectrumInformation.setWidth(input.getNmcWidth().getValue());
         }
         if (input.getModulationFormat() != null) {
             spectrumInformation.setModulationFormat(input.getModulationFormat());