diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-02-02 16:58:34 -0800 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-02-11 10:22:45 -0800 |
commit | dff010ac8e57e43669518a14c0e945dfeb80c2a7 (patch) | |
tree | 005a4f0556b862a5a857007312ba1ad9f2bd3568 /drivers/net/wireless/iwlwifi/iwl-4965.c | |
parent | 4cad6c7c38930618d77e65af82c1403d63879eee (diff) | |
download | blackbird-op-linux-dff010ac8e57e43669518a14c0e945dfeb80c2a7.tar.gz blackbird-op-linux-dff010ac8e57e43669518a14c0e945dfeb80c2a7.zip |
iwlwifi: clear all tx queues when firmware ready
Reset and clear all the tx queues when finished downloading runtime
uCode and ready to go into operation mode.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index aebe8c51d3e1..e4794885d079 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c @@ -581,6 +581,8 @@ static int iwl4965_alive_notify(struct iwl_priv *priv) iwl4965_set_wr_ptrs(priv, IWL_CMD_QUEUE_NUM, 0); + /* reset to 0 to enable all the queue first */ + priv->txq_ctx_active_msk = 0; /* Map each Tx/cmd queue to its corresponding fifo */ for (i = 0; i < ARRAY_SIZE(default_queue_to_tx_fifo); i++) { int ac = default_queue_to_tx_fifo[i]; |