qcacmn: Move Max Peers variable to WMA

Remove Max Peers reference in HIF and move it to WMA

Change-Id: If2be1e3a69abdca471d6bb96aca9298bffd4bd25
CRs-Fixed: 967765
This commit is contained in:
Komal Seelam 2016-02-11 16:16:17 +05:30 • committed by Gerrit - the friendly Code Review server
commit 6081702c40
2 changed files with 0 additions and 3 deletions

View file

@ -152,7 +152,6 @@ struct qca_napi_data {
* @enable_fw_log: To Enable FW LOG
* @enable_lpass_support: LPASS support
* @enable_ramdump_collection: Ramdump Collection
* @max_no_of_peers: Max Number of Peers
*
* Structure for holding ini parameters.
*/
@ -162,7 +161,6 @@ struct hif_config_info {
bool enable_fw_log;
bool enable_lpass_support;
bool enable_ramdump_collection;
uint8_t max_no_of_peers;
};
/**

View file

@ -479,7 +479,6 @@ CDF_STATUS hif_open(cdf_device_t cdf_ctx, enum ath_hal_bus_type bus_type)
hif_hdl = GET_HIF_OPAQUE_HDL(scn);
scn->cdf_dev = cdf_ctx;
cfg = hif_get_ini_handle(hif_hdl);
cfg->max_no_of_peers = 1;
cdf_atomic_init(&scn->active_tasklet_cnt);
cdf_atomic_init(&scn->link_suspended);
cdf_atomic_init(&scn->tasklet_from_intr);