qcacmn: Avoid mutex in soft irq
When handle wmi_mlo_link_disable_request_event in tasklet, mlo mutex is acquired, assert will happen. To fix it, let wmi_mlo_link_disable_request_event be handled in scheduler thread instead of tasklet. Change-Id: I65b84d0b6dc92a6649925d5844657fa44df1fada CRs-Fixed: 3563195
This commit is contained in:

committed by
Rahul Choudhary

parent
416c570033
commit
8ebdc0ccc9
@@ -294,10 +294,10 @@ target_if_mlo_register_event_handler(struct wlan_objmgr_psoc *psoc)
|
|||||||
target_if_mlo_register_vdev_tid_to_link_map_event(wmi_handle);
|
target_if_mlo_register_vdev_tid_to_link_map_event(wmi_handle);
|
||||||
target_if_mlo_register_mlo_link_state_info_event(wmi_handle);
|
target_if_mlo_register_mlo_link_state_info_event(wmi_handle);
|
||||||
|
|
||||||
status = wmi_unified_register_event(
|
status = wmi_unified_register_event_handler(wmi_handle,
|
||||||
wmi_handle,
|
|
||||||
wmi_mlo_link_disable_request_eventid,
|
wmi_mlo_link_disable_request_eventid,
|
||||||
target_if_mlo_link_disable_request_event_handler);
|
target_if_mlo_link_disable_request_event_handler,
|
||||||
|
WMI_RX_SERIALIZER_CTX);
|
||||||
if (QDF_IS_STATUS_ERROR(status)) {
|
if (QDF_IS_STATUS_ERROR(status)) {
|
||||||
target_if_err("Couldn't register handler for link disable request WMI event %d",
|
target_if_err("Couldn't register handler for link disable request WMI event %d",
|
||||||
status);
|
status);
|
||||||
|
Reference in New Issue
Block a user