qcacmn: Flush TxLookupQueue for WMI_CONTROL_SVC during htc_stop
TX comletion for WMI_FORCE_FW_HANG_CMDID would come after TARGET_STATUS_RESET is set. In such a senario, there would be memory leak. Flush TxLookupQueue for WMI_CONTROL_SVC during htc_stop. Since netbuf is freed in ISR, just free HTC frame here. Change-Id: I5fab3effda1db70fa9b1208c854231a88b48309b CRs-Fixed: 2242862
This commit is contained in:
@@ -296,8 +296,18 @@ void free_htc_packet_container(HTC_TARGET *target, HTC_PACKET *pPacket);
|
||||
void htc_flush_rx_hold_queue(HTC_TARGET *target, HTC_ENDPOINT *pEndpoint);
|
||||
void htc_flush_endpoint_tx(HTC_TARGET *target, HTC_ENDPOINT *pEndpoint,
|
||||
HTC_TX_TAG Tag);
|
||||
|
||||
/**
|
||||
* htc_flush_endpoint_txlookupQ() - Flush EP's lookup queue
|
||||
* @target: HTC target
|
||||
* @endpoint_id: EP ID
|
||||
* @call_ep_callback: whether to call EP tx completion callback
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void htc_flush_endpoint_txlookupQ(HTC_TARGET *target,
|
||||
HTC_ENDPOINT_ID endpoint_id);
|
||||
HTC_ENDPOINT_ID endpoint_id,
|
||||
bool call_ep_callback);
|
||||
|
||||
void htc_recv_init(HTC_TARGET *target);
|
||||
QDF_STATUS htc_wait_recv_ctrl_message(HTC_TARGET *target);
|
||||
|
Viittaa uudesa ongelmassa
Block a user