qcacmn: Fix Bootup crash for Partial Offload chipset
Swift radio in Hawkeye is a partial offload chipset supporting 11AC mode. It has no support for MLO. Currently, when MLO event handler registration fails due to No Support, an error is returned. This terminates the device bootup causing a crash. To solve this issue, do not return an error status when the event registration fails due to No support. Change-Id: I89819461bbc1d0fa31ef0558c93d06723f13de35 CRs-Fixed: 3520749
This commit is contained in:

committed by
Rahul Choudhary

parent
ac4f5f95e7
commit
0da20d2361
@@ -298,9 +298,12 @@ target_if_mlo_register_event_handler(struct wlan_objmgr_psoc *psoc)
|
||||
wmi_handle,
|
||||
wmi_mlo_link_disable_request_eventid,
|
||||
target_if_mlo_link_disable_request_event_handler);
|
||||
if (QDF_IS_STATUS_ERROR(status))
|
||||
target_if_err("Couldn't register handler for Link removal WMI event %d",
|
||||
if (QDF_IS_STATUS_ERROR(status)) {
|
||||
target_if_err("Couldn't register handler for link disable request WMI event %d",
|
||||
status);
|
||||
if (status == QDF_STATUS_E_NOSUPPORT)
|
||||
status = QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
return status;
|
||||
}
|
||||
|
Reference in New Issue
Block a user