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:
@@ -1702,6 +1702,7 @@ struct hal_rx_msdu_list {
|
||||
struct hal_buf_info {
|
||||
uint64_t paddr;
|
||||
uint32_t sw_cookie;
|
||||
uint8_t rbm;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -2096,7 +2097,7 @@ static inline void hal_dump_wbm_rel_desc(void *src_srng_desc)
|
||||
static inline
|
||||
void hal_rx_msdu_link_desc_set(hal_soc_handle_t hal_soc_hdl,
|
||||
void *src_srng_desc,
|
||||
hal_link_desc_t buf_addr_info,
|
||||
hal_buff_addrinfo_t buf_addr_info,
|
||||
uint8_t bm_action)
|
||||
{
|
||||
struct wbm_release_ring *wbm_rel_srng =
|
||||
|
Reference in New Issue
Block a user