mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacmn: Fix for crash during unload of driver modules
Change ce_cancel API to return error status in srng implementation. Since this feature is not yet added, it should return error status, zero or success return value will result in a infinite loop causing access to invalid memory. Change-Id: I871cc16e2854aeca694c7538cc1e99ab24b04de6 CRs-Fixed: 1097695
This commit is contained in:
parent
e2f3535264
commit
55d3a20bb9
1 changed files with 1 additions and 1 deletions
|
|
@ -535,7 +535,7 @@ ce_cancel_send_next_srng(struct CE_handle *copyeng,
|
|||
unsigned int *transfer_idp,
|
||||
uint32_t *toeplitz_hash_result)
|
||||
{
|
||||
return 0;
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
/* Shift bits to convert IS_*_RING_*_WATERMARK_MASK to CE_WM_FLAG_*_* */
|
||||
|
|
|
|||
Loading…
Reference in a new issue