diff --git a/opensync-ext-cloud/src/main/java/com/telecominfraproject/wlan/opensync/external/integration/OpensyncExternalIntegrationCloud.java b/opensync-ext-cloud/src/main/java/com/telecominfraproject/wlan/opensync/external/integration/OpensyncExternalIntegrationCloud.java index 061aaca..bb87bf2 100644 --- a/opensync-ext-cloud/src/main/java/com/telecominfraproject/wlan/opensync/external/integration/OpensyncExternalIntegrationCloud.java +++ b/opensync-ext-cloud/src/main/java/com/telecominfraproject/wlan/opensync/external/integration/OpensyncExternalIntegrationCloud.java @@ -1231,17 +1231,6 @@ public class OpensyncExternalIntegrationCloud implements OpensyncExternalIntegra continue; } - if (radioState.getAllowedChannels() != null) { - if (apElementConfiguration.getRadioMap().containsKey(radioState.getFreqBand()) - && apElementConfiguration.getRadioMap().get(radioState.getFreqBand()) != null) { - apElementConfiguration.getRadioMap().get(radioState.getFreqBand()) - .setAllowedChannels(new ArrayList<>(radioState.getAllowedChannels())); - - LOG.debug("Updated AllowedChannels from Wifi_Radio_State table change for AP {}", apId); - } - - } - if (radioState.getChannels() != null) { if (apElementConfiguration.getRadioMap().containsKey(radioState.getFreqBand()) @@ -1296,8 +1285,6 @@ public class OpensyncExternalIntegrationCloud implements OpensyncExternalIntegra apElementConfiguration.getRadioMap().get(radioState.getFreqBand()) .setAllowedChannelsPowerLevels(channelPowerLevels); } - apElementConfiguration.getRadioMap().get(radioState.getFreqBand()) - .setAllowedChannels(new ArrayList<>(radioState.getAllowedChannels())); LOG.debug("Updated AllowedChannels from Wifi_Radio_State table change for AP {}", apId); }