qcacmn: Fix the next link descriptor read issue
Link descriptor were getting freed by the pointer of the previous freed link descriptor. This patch fixes by copying the address of the current in a local descriptor info and using it to free the current. Change-Id: I95e137ba5b1f0ad21b0e6fb39f6671e1d5b65ba6 CRs-Fixed: 2577624
This commit is contained in:
@@ -76,6 +76,12 @@ typedef struct hal_link_desc *hal_link_desc_t;
|
||||
struct hal_rxdma_desc;
|
||||
typedef struct hal_rxdma_desc *hal_rxdma_desc_t;
|
||||
|
||||
/**
|
||||
* hal_buff_addrinfo - opaque handle for DP buffer address info
|
||||
*/
|
||||
struct hal_buff_addrinfo;
|
||||
typedef struct hal_buff_addrinfo *hal_buff_addrinfo_t;
|
||||
|
||||
#ifdef ENABLE_VERBOSE_DEBUG
|
||||
static inline void
|
||||
hal_set_verbose_debug(bool flag)
|
||||
|
Reference in New Issue
Block a user