aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/dvm/tx.c
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2012-05-29 04:29:10 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-06-06 07:21:20 -0400
commit4beaf6c2f8af52902bcd55b51f9ff8c8f547d485 (patch)
treee8fcd906805d19ed08d84d2408a760d876e1a8da /drivers/net/wireless/iwlwifi/dvm/tx.c
parentd0624be65ade709ef1a4220451a474be1ad01af9 (diff)
iwlwifi: s/txq_setup/txq_enable
We need to be able to enable / disable Tx queues in HW dynamically. So this function is no longer related to AGG only. It can do the job for any queue, even AC ones. Change the name to better reflect its role. Also use the new function to configure the AC / CMD queues in tx_start. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/dvm/tx.c')
-rw-r--r--drivers/net/wireless/iwlwifi/dvm/tx.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/dvm/tx.c b/drivers/net/wireless/iwlwifi/dvm/tx.c
index 494a25c2f8aa..7fdbd175c551 100644
--- a/drivers/net/wireless/iwlwifi/dvm/tx.c
+++ b/drivers/net/wireless/iwlwifi/dvm/tx.c
@@ -688,9 +688,8 @@ int iwlagn_tx_agg_oper(struct iwl_priv *priv, struct ieee80211_vif *vif,
688 688
689 fifo = ctx->ac_to_fifo[tid_to_ac[tid]]; 689 fifo = ctx->ac_to_fifo[tid_to_ac[tid]];
690 690
691 iwl_trans_tx_agg_setup(priv->trans, q, fifo, 691 iwl_trans_txq_enable(priv->trans, q, fifo, sta_priv->sta_id, tid,
692 sta_priv->sta_id, tid, 692 buf_size, ssn);
693 buf_size, ssn);
694 693
695 /* 694 /*
696 * If the limit is 0, then it wasn't initialised yet, 695 * If the limit is 0, then it wasn't initialised yet,