|
@@ -209,7 +209,6 @@ struct ol_tx_desc_t *ol_tx_desc_alloc(struct ol_txrx_pdev_t *pdev,
|
|
|
(pool->avail_desc >= pool->stop_priority_th) &&
|
|
|
(pool->status == FLOW_POOL_ACTIVE_UNPAUSED))) {
|
|
|
pool->status = FLOW_POOL_NON_PRIO_PAUSED;
|
|
|
- qdf_spin_unlock_bh(&pool->flow_pool_lock);
|
|
|
/* pause network NON PRIORITY queues */
|
|
|
pdev->pause_cb(vdev->vdev_id,
|
|
|
WLAN_STOP_NON_PRIORITY_QUEUE,
|
|
@@ -218,14 +217,14 @@ struct ol_tx_desc_t *ol_tx_desc_alloc(struct ol_txrx_pdev_t *pdev,
|
|
|
pool->stop_priority_th) &&
|
|
|
pool->status == FLOW_POOL_NON_PRIO_PAUSED)) {
|
|
|
pool->status = FLOW_POOL_ACTIVE_PAUSED;
|
|
|
- qdf_spin_unlock_bh(&pool->flow_pool_lock);
|
|
|
/* pause priority queue */
|
|
|
pdev->pause_cb(vdev->vdev_id,
|
|
|
WLAN_NETIF_PRIORITY_QUEUE_OFF,
|
|
|
WLAN_DATA_FLOW_CONTROL_PRIORITY);
|
|
|
- } else {
|
|
|
- qdf_spin_unlock_bh(&pool->flow_pool_lock);
|
|
|
}
|
|
|
+
|
|
|
+ qdf_spin_unlock_bh(&pool->flow_pool_lock);
|
|
|
+
|
|
|
ol_tx_desc_sanity_checks(pdev, tx_desc);
|
|
|
ol_tx_desc_compute_delay(tx_desc);
|
|
|
ol_tx_desc_update_tx_ts(tx_desc);
|