mirror of
				https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
				synced 2025-10-30 18:17:59 +00:00 
			
		
		
		
	WIFI-1395: Remove redundant field, allowedChannels, from ElementRadioConfiguration object
This commit is contained in:
		| @@ -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); | ||||
|                 } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Mike Hansen
					Mike Hansen