mirror of
https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
synced 2025-11-02 03:28:00 +00:00
Correct parsing on channelMode when Set is empty
This commit is contained in:
@@ -593,7 +593,7 @@ public class OvsdbDao {
|
||||
channelTmp = -1L;
|
||||
}
|
||||
wifiRadioConfigInfo.channel = channelTmp.intValue();
|
||||
wifiRadioConfigInfo.channelMode = row.getStringColumn("channel_mode");
|
||||
wifiRadioConfigInfo.channelMode = getSingleValueFromSet(row, "channel_mode");
|
||||
wifiRadioConfigInfo.country = getSingleValueFromSet(row, "country");
|
||||
Boolean tmp = getSingleValueFromSet(row, "enabled");
|
||||
wifiRadioConfigInfo.enabled = tmp != null ? tmp : false;
|
||||
|
||||
Reference in New Issue
Block a user