mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
qcacmn: clear the tx_desc flags in V2 flow_ctrl dp_tx_desc_free
Make sure to clear the tx_desc->flags field before putting the tx_desc to free pool. This was not takencare in V2 flow_control implementation. Change-Id: I666b9b09de62d52cffc45e2b6db3a6be06d688e8 CRs-Fixed: 2186884
This commit is contained in:
parent
caca8b01fd
commit
38ff9e3bb1
1 changed files with 1 additions and 0 deletions
|
|
@ -177,6 +177,7 @@ dp_tx_desc_free(struct dp_soc *soc, struct dp_tx_desc_s *tx_desc,
|
|||
struct dp_tx_desc_pool_s *pool = &soc->tx_desc[desc_pool_id];
|
||||
|
||||
qdf_spin_lock_bh(&pool->flow_pool_lock);
|
||||
tx_desc->flags = 0;
|
||||
dp_tx_put_desc_flow_pool(pool, tx_desc);
|
||||
switch (pool->status) {
|
||||
case FLOW_POOL_ACTIVE_PAUSED:
|
||||
|
|
|
|||
Loading…
Reference in a new issue