|
@@ -979,9 +979,6 @@ void dp_sawf_config_be(struct dp_soc *soc, uint32_t *hal_tx_desc_cached,
|
|
|
{
|
|
|
uint8_t q_id = 0;
|
|
|
|
|
|
- if (!wlan_cfg_get_sawf_config(soc->wlan_cfg_ctx))
|
|
|
- return;
|
|
|
-
|
|
|
q_id = dp_sawf_queue_id_get(nbuf);
|
|
|
|
|
|
if (q_id == DP_SAWF_DEFAULT_Q_INVALID)
|
|
@@ -994,6 +991,9 @@ void dp_sawf_config_be(struct dp_soc *soc, uint32_t *hal_tx_desc_cached,
|
|
|
(q_id < DP_SAWF_DEFAULT_QUEUE_MAX))
|
|
|
return;
|
|
|
|
|
|
+ if (!wlan_cfg_get_sawf_config(soc->wlan_cfg_ctx))
|
|
|
+ return;
|
|
|
+
|
|
|
dp_sawf_tcl_cmd(fw_metadata, nbuf);
|
|
|
hal_tx_desc_set_flow_override_enable(hal_tx_desc_cached,
|
|
|
DP_TX_FLOW_OVERRIDE_ENABLE);
|