qca-wifi: Fix error prints in cfr initilization
we are seeing few error prints while registring TX events per pdev. Ignore double registration error during pdev init. Change-Id: I185b1c9178a4632bd14b65314a623efee0597481 CRs-Fixed: 2414456
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
96b7e0affb
commit
c4ae77d0e0
@@ -484,6 +484,12 @@ target_if_register_tx_completion_event_handler(struct wlan_objmgr_psoc *psoc)
|
||||
wmi_peer_cfr_capture_event_id,
|
||||
target_if_peer_capture_event,
|
||||
WMI_RX_UMAC_CTX);
|
||||
/*
|
||||
* Event registration is called per pdev
|
||||
* Ignore erorr if event is alreday registred.
|
||||
*/
|
||||
if (ret == QDF_STATUS_E_FAILURE)
|
||||
ret = QDF_STATUS_SUCCESS;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user