qcacld-3.0: Set the max_station config correctly for SAP
Set the max_station config correctly at wma_open instead of using the default value. Change-Id: I63cd05462351359fbdcaae03dbdff940817b9bde CRs-Fixed: 2468829
This commit is contained in:

committed by
nshrivas

parent
d3fa2d6b64
commit
80e9e3b9d0
@@ -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, \
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user