diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2011-08-26 02:11:31 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-29 15:33:01 -0400 |
commit | e20d434170c3a7f388d5e916825499c9c0738606 (patch) | |
tree | 64a4966a3847d46bae04762d3782740fe23759ac /drivers/net/wireless/iwlwifi/iwl-agn-tx.c | |
parent | f22be624c29b7f714e5a82ad13dc33a0cd1443a2 (diff) |
iwlagn: move the stop / wake queue logic to transport layer
priv->mac80211_registered and priv->hw needed to move to shared.
stop_queue API was added in order to allow the upper layer to stop
the SW queues for regulatory purposes.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-tx.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c index bc3268a0c752..009c35a8d20b 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c | |||
@@ -803,7 +803,7 @@ void iwlagn_rx_reply_tx(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb) | |||
803 | iwl_is_associated_ctx(ctx) && ctx->vif && | 803 | iwl_is_associated_ctx(ctx) && ctx->vif && |
804 | ctx->vif->type == NL80211_IFTYPE_STATION) { | 804 | ctx->vif->type == NL80211_IFTYPE_STATION) { |
805 | ctx->last_tx_rejected = true; | 805 | ctx->last_tx_rejected = true; |
806 | iwl_stop_queue(priv, &priv->txq[txq_id]); | 806 | iwl_trans_stop_queue(trans(priv), txq_id); |
807 | 807 | ||
808 | IWL_DEBUG_TX_REPLY(priv, | 808 | IWL_DEBUG_TX_REPLY(priv, |
809 | "TXQ %d status %s (0x%08x) " | 809 | "TXQ %d status %s (0x%08x) " |