qcacmn: Removing error value return on event registration failure
WMI_SPECTRAL_CAPABILITIES_EVENTID registration returns QDF_STATUS_E_FAILURE on failure which is not required as it is causing crash on failure where event registration is failing i.e., Hawkeye + Swift Change-Id: Id11d76941b12d0ee249d8f6e86612b351b732d78 CRs-Fixed: 3255827
This commit is contained in:
parent
dfb517c3f8
commit
e86fc7ebe9
@ -7862,10 +7862,8 @@ target_if_spectral_register_events(struct wlan_objmgr_psoc *psoc)
|
||||
wmi_spectral_capabilities_eventid,
|
||||
target_if_spectral_capabilities_event_handler,
|
||||
WMI_RX_UMAC_CTX);
|
||||
if (ret) {
|
||||
if (ret)
|
||||
spectral_debug("event handler not supported, ret=%d", ret);
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user