qcacld-3.0: Fix improper setting of RPS CPU mask
RPS CPU mask is getting set even if feature is not enabled, due to this RPS config is taking affect and throughput is degraded. Fix this by checking dynamic RPS enablement before setting RPS CPU mask. Change-Id: I472a600e665271db7ea1e6fa650d88cba7804ab8 CRs-Fixed: 3258049
This commit is contained in:

committed by
Madan Koyyalamudi

parent
557a226add
commit
6ace4e5448
@@ -1378,7 +1378,9 @@ void dp_try_set_rps_cpu_mask(struct wlan_objmgr_psoc *psoc)
|
||||
dp_err("dp context is NULL");
|
||||
return;
|
||||
}
|
||||
dp_set_rps_cpu_mask(dp_ctx);
|
||||
|
||||
if (dp_ctx->dynamic_rps)
|
||||
dp_set_rps_cpu_mask(dp_ctx);
|
||||
}
|
||||
|
||||
void dp_clear_rps_cpu_mask(struct wlan_dp_psoc_context *dp_ctx)
|
||||
|
Reference in New Issue
Block a user