02606c8511
Turn-off with_backports for s390x
45 lines
1.4 KiB
Diff
45 lines
1.4 KiB
Diff
From 81670a491849127cd5f86defd2cd03cef1b08d07 Mon Sep 17 00:00:00 2001
|
|
From: Johannes Berg <johannes.berg@intel.com>
|
|
Date: Wed, 14 Dec 2011 08:22:35 -0800
|
|
Subject: [PATCH 1/2] iwlwifi: tx_sync only on PAN context
|
|
|
|
Ted reported that he couldn't connect to some APs
|
|
and bisected it to the tx_sync implementation.
|
|
Disable it for the BSS context to fix this issue.
|
|
|
|
Reported-by: Ted Ts'o <tytso@mit.edu>
|
|
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
|
|
Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
|
---
|
|
drivers/net/wireless/iwlwifi/iwl-agn.c | 6 ++++++
|
|
1 files changed, 6 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
|
|
index bacc06c..e0e9a3d 100644
|
|
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
|
|
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
|
|
@@ -2850,6 +2850,9 @@ static int iwlagn_mac_tx_sync(struct ieee80211_hw *hw,
|
|
int ret;
|
|
u8 sta_id;
|
|
|
|
+ if (ctx->ctxid != IWL_RXON_CTX_PAN)
|
|
+ return 0;
|
|
+
|
|
IWL_DEBUG_MAC80211(priv, "enter\n");
|
|
mutex_lock(&priv->shrd->mutex);
|
|
|
|
@@ -2898,6 +2901,9 @@ static void iwlagn_mac_finish_tx_sync(struct ieee80211_hw *hw,
|
|
struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv;
|
|
struct iwl_rxon_context *ctx = vif_priv->ctx;
|
|
|
|
+ if (ctx->ctxid != IWL_RXON_CTX_PAN)
|
|
+ return;
|
|
+
|
|
IWL_DEBUG_MAC80211(priv, "enter\n");
|
|
mutex_lock(&priv->shrd->mutex);
|
|
|
|
--
|
|
1.7.4.4
|
|
|