IPACM: fix the logic in WLAN AP-AP use case
Remove the limitation on the number of guest AP in WLAN
AP-AP mode.
Change-Id: I2b5bfe83a1b550254ea6a76ff1119e5ccc71a212
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
diff --git a/ipacm/src/IPACM_Config.cpp b/ipacm/src/IPACM_Config.cpp
index d8c4227..eb30e0f 100644
--- a/ipacm/src/IPACM_Config.cpp
+++ b/ipacm/src/IPACM_Config.cpp
@@ -187,14 +187,6 @@
goto fail;
}
- /* Check wlan AP-AP access mode configuration */
- if (cfg->num_wlan_guest_ap == 2)
- {
- IPACMDBG_H("IPACM_Config::Both wlan APs can not be configured in guest ap mode. \n");
- IPACMDBG_H("IPACM_Config::configure both APs in full access mode or at least one in guest ap mode. \n");
- ret = IPACM_FAILURE;
- goto fail;
- }
/* Construct IPACM Iface table */
ipa_num_ipa_interfaces = cfg->iface_config.num_iface_entries;
if (iface_table != NULL)