mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacmn: Free ce fastpath buffer even if handler not installed
Durring a driver load failure, the fastpath buffer is allocated before the fastpath handler is installed. Change the free logic to match the allocation logic. Change-Id: Ib9731b3d06d7ac728e0f23bb32e2b74c35b9a8de CRs-Fixed: 1089933
This commit is contained in:
parent
8a3539345e
commit
7fe51b1cf3
1 changed files with 5 additions and 1 deletions
|
|
@ -1055,8 +1055,12 @@ void ce_t2h_msg_ce_cleanup(struct CE_handle *ce_hdl)
|
|||
qdf_nbuf_t nbuf;
|
||||
int i;
|
||||
|
||||
if (!ce_state->fastpath_handler)
|
||||
if (ce_state->scn->fastpath_mode_on == false)
|
||||
return;
|
||||
|
||||
if (!ce_state->htt_rx_data)
|
||||
return;
|
||||
|
||||
/*
|
||||
* when fastpath_mode is on and for datapath CEs. Unlike other CE's,
|
||||
* this CE is completely full: does not leave one blank space, to
|
||||
|
|
|
|||
Loading…
Reference in a new issue