qcacld-3.0: Use serialize context for thermal event

Use WMI_RX_SERIALIZER_CTX context for thermal event handler.
The default context is tasklet, it may cause issue when interact
with OS interface.

Change-Id: I349412c2afee9a081f0d38704541f77b5e4569f4
CRs-Fixed: 2824461
This commit is contained in:
Liangwei Dong
2020-11-20 18:53:50 +08:00
committed by snandini
父節點 ed53367315
當前提交 349b0b002c

查看文件

@@ -332,10 +332,11 @@ target_if_fwol_register_thermal_throttle_handler(struct wlan_objmgr_psoc *psoc)
target_if_debug("thermal mitigation offload not enabled");
return;
}
status = wmi_unified_register_event(
status = wmi_unified_register_event_handler(
get_wmi_unified_hdl_from_psoc(psoc),
wmi_tt_stats_event_id,
target_if_fwol_thermal_throttle_event_handler);
target_if_fwol_thermal_throttle_event_handler,
WMI_RX_SERIALIZER_CTX);
if (QDF_IS_STATUS_ERROR(status))
target_if_debug("Failed to register thermal stats event cb");
}