WIFI-1734: AP not broadcasting Passpoint Access SSID unless OSU SSID is configured in Passpoint Profile

This commit is contained in:
Mike Hansen
2021-03-10 11:04:54 -05:00
parent a0a12d3c8c
commit 4773530305

View File

@@ -502,9 +502,11 @@ public class OvsdbHotspotConfig extends OvsdbDaoBase {
}
for (Profile ssidProfile : opensyncApConfig.getSsidProfile()) {
if (ssidProfile.getId() == hs2Profile.getOsuSsidProfileId()) {
rowColumns.put("osu_ssid", new Atom<>(((SsidConfiguration) ssidProfile.getDetails()).getSsid()));
break;
if (hs2Profile.getOsuSsidProfileId() != null) {
if (ssidProfile.getId() == hs2Profile.getOsuSsidProfileId()) {
rowColumns.put("osu_ssid", new Atom<>(((SsidConfiguration) ssidProfile.getDetails()).getSsid()));
break;
}
}
}
}