Skip to content

Commit 81670a4

Browse files
jmberg-intellinvjw
authored andcommitted
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>
1 parent 51e708c commit 81670a4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎drivers/net/wireless/iwlwifi/iwl-agn.c‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2850,6 +2850,9 @@ static int iwlagn_mac_tx_sync(struct ieee80211_hw *hw,
28502850
int ret;
28512851
u8 sta_id;
28522852

2853+
if (ctx->ctxid != IWL_RXON_CTX_PAN)
2854+
return 0;
2855+
28532856
IWL_DEBUG_MAC80211(priv, "enter\n");
28542857
mutex_lock(&priv->shrd->mutex);
28552858

@@ -2898,6 +2901,9 @@ static void iwlagn_mac_finish_tx_sync(struct ieee80211_hw *hw,
28982901
struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv;
28992902
struct iwl_rxon_context *ctx = vif_priv->ctx;
29002903

2904+
if (ctx->ctxid != IWL_RXON_CTX_PAN)
2905+
return;
2906+
29012907
IWL_DEBUG_MAC80211(priv, "enter\n");
29022908
mutex_lock(&priv->shrd->mutex);
29032909

0 commit comments

Comments
 (0)