qcacmn: Take peer ref count and dec it after using
Currently peer reference is used with out taking any ref count. In parallel context execution on different core peer reference may be cleaned up in peer unmap event. So take ref count while using the peer reference and decrement after done with it. Change-Id: I02ca172cbdc4309fabd3bbbad00940826662bbd3 CRs-Fixed: 2301963
这个提交包含在:
@@ -197,9 +197,11 @@ static inline void dp_tx_me_exit(struct dp_pdev *pdev)
|
||||
|
||||
#ifdef FEATURE_PERPKT_INFO
|
||||
QDF_STATUS
|
||||
dp_get_completion_indication_for_stack(struct dp_soc *soc, struct dp_pdev *pdev,
|
||||
uint16_t peer_id, uint32_t ppdu_id, uint8_t first_msdu,
|
||||
uint8_t last_msdu, qdf_nbuf_t netbuf);
|
||||
dp_get_completion_indication_for_stack(struct dp_soc *soc,
|
||||
struct dp_pdev *pdev,
|
||||
struct dp_peer *peer, uint16_t peer_id,
|
||||
uint32_t ppdu_id, uint8_t first_msdu,
|
||||
uint8_t last_msdu, qdf_nbuf_t netbuf);
|
||||
|
||||
void dp_send_completion_to_stack(struct dp_soc *soc, struct dp_pdev *pdev,
|
||||
uint16_t peer_id, uint32_t ppdu_id,
|
||||
|
在新工单中引用
屏蔽一个用户