diff --git a/components/mlme/dispatcher/inc/cfg_mlme_sap.h b/components/mlme/dispatcher/inc/cfg_mlme_sap.h index 851a52b43879..51f590e5f7c1 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_sap.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_sap.h @@ -66,7 +66,7 @@ "CFG_11G_ONLY_POLICY") #define CFG_ASSOC_STA_LIMIT CFG_UINT( \ - "cfg_beacon_interval", \ + "cfg_assoc_sta_limit", \ 1, \ 32, \ 10, \ diff --git a/core/wma/src/wma_main.c b/core/wma/src/wma_main.c index f702ce4e20bf..295a9946d346 100644 --- a/core/wma/src/wma_main.c +++ b/core/wma/src/wma_main.c @@ -3313,6 +3313,8 @@ QDF_STATUS wma_open(struct wlan_objmgr_psoc *psoc, cds_cfg->max_station = wma_init_max_no_of_peers(wma_handle, cds_cfg->max_station); + wlan_mlme_set_assoc_sta_limit(psoc, cds_cfg->max_station); + /* initialize default target config */ wlan_res_cfg = target_psoc_get_wlan_res_cfg(tgt_psoc_info); if (!wlan_res_cfg) {