qca-wifi: add fix to use peer id from tx tid

During peer unmap handler peer id is set to invalid peer
but is not deleted as reference is held.
On excess retries, peer id is reference from peer which is inactive
for a ppdu descriptor leading to assert.

added fix to use peer id from tx tid.

Change-Id: I058dec46138ebc10f8d97eb0145458737149309c
This commit is contained in:
nobelj
2020-12-05 22:18:11 -08:00
zatwierdzone przez Nobel Sharanyan Jeganathan
rodzic 3d9d00c3aa
commit f86496baad

Wyświetl plik

@@ -3550,7 +3550,7 @@ dp_tx_mon_proc_xretries(struct dp_pdev *pdev, struct dp_peer *peer,
qdf_nbuf_data(ppdu_nbuf);
usr_idx = dp_tx_find_usr_idx_from_peer_id(ppdu_desc,
peer->peer_id);
tx_tid->peer_id);
user = &ppdu_desc->user[usr_idx];