diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2012-03-07 12:52:34 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-08 13:59:54 -0500 |
commit | 3251715dc51a8cbd2cd030ff94fe36f37b4b9e74 (patch) | |
tree | 2247ef828ae45000afc90aae1d4c3d4503dd1982 /drivers/net/wireless | |
parent | 354928dd00d0437149991fad7637c411ba1c62f0 (diff) |
iwlwifi: log stop / wake queues
There were a few missing occurences when we get PASSIVE_NO_RX
notification.
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')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-tx.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c index 97ebfd26212e..ac5c1311ef33 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c | |||
@@ -1088,6 +1088,8 @@ int iwlagn_rx_reply_tx(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb, | |||
1088 | ctx->vif->type == NL80211_IFTYPE_STATION) { | 1088 | ctx->vif->type == NL80211_IFTYPE_STATION) { |
1089 | /* block and stop all queues */ | 1089 | /* block and stop all queues */ |
1090 | priv->passive_no_rx = true; | 1090 | priv->passive_no_rx = true; |
1091 | IWL_DEBUG_TX_QUEUES(priv, "stop all queues: " | ||
1092 | "passive channel"); | ||
1091 | ieee80211_stop_queues(priv->hw); | 1093 | ieee80211_stop_queues(priv->hw); |
1092 | 1094 | ||
1093 | IWL_DEBUG_TX_REPLY(priv, | 1095 | IWL_DEBUG_TX_REPLY(priv, |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index 7927e3e11097..6ed2f782177b 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -1450,8 +1450,12 @@ void iwlagn_lift_passive_no_rx(struct iwl_priv *priv) | |||
1450 | return; | 1450 | return; |
1451 | 1451 | ||
1452 | for (ac = IEEE80211_AC_VO; ac < IEEE80211_NUM_ACS; ac++) { | 1452 | for (ac = IEEE80211_AC_VO; ac < IEEE80211_NUM_ACS; ac++) { |
1453 | if (!test_bit(ac, &priv->transport_queue_stop)) | 1453 | if (!test_bit(ac, &priv->transport_queue_stop)) { |
1454 | IWL_DEBUG_TX_QUEUES(priv, "Wake queue %d"); | ||
1454 | ieee80211_wake_queue(priv->hw, ac); | 1455 | ieee80211_wake_queue(priv->hw, ac); |
1456 | } else { | ||
1457 | IWL_DEBUG_TX_QUEUES(priv, "Don't wake queue %d"); | ||
1458 | } | ||
1455 | } | 1459 | } |
1456 | 1460 | ||
1457 | priv->passive_no_rx = false; | 1461 | priv->passive_no_rx = false; |