mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
qcacld-3.0: Do not destroy rx_buff_list_lock if it is not used
When CONFIG_HL_SUPPORT is defined, htt_rx_dbg_rxbuf_init is not called, and rx_buff_list_lock is not initialized. rx_buff_list_lock should not be destroyed if it is not initialized. Do not call htt_rx_dbg_rxbuf_deinit when CONFIG_HL_SUPPORT is defined. Change-Id: I9d64313efd5a9978b3fb953ac5d7ffb466abe010 CRs-Fixed: 2134345
This commit is contained in:
parent
676617373e
commit
8321073763
2 changed files with 1 additions and 1 deletions
|
|
@ -666,7 +666,6 @@ void htt_detach(htt_pdev_handle pdev)
|
|||
HTT_TX_MUTEX_DESTROY(&pdev->credit_mutex);
|
||||
HTT_TX_MUTEX_DESTROY(&pdev->htt_tx_mutex);
|
||||
HTT_TX_NBUF_QUEUE_MUTEX_DESTROY(pdev);
|
||||
htt_rx_dbg_rxbuf_deinit(pdev);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -689,6 +689,7 @@ void htt_rx_detach(struct htt_pdev_t *pdev)
|
|||
{
|
||||
qdf_timer_stop(&pdev->rx_ring.refill_retry_timer);
|
||||
qdf_timer_free(&pdev->rx_ring.refill_retry_timer);
|
||||
htt_rx_dbg_rxbuf_deinit(pdev);
|
||||
|
||||
if (pdev->cfg.is_full_reorder_offload) {
|
||||
qdf_mem_free_consistent(pdev->osdev, pdev->osdev->dev,
|
||||
|
|
|
|||
Loading…
Reference in a new issue