summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorEyal Shapira <eyal@wizery.com>2014-12-31 17:30:15 (GMT)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2015-01-05 09:02:34 (GMT)
commitc93edc639392df733c7d72db4376a9add775d18a (patch)
tree4e3a743a6a483b0b447c9badd0083539242f52a3 /drivers
parenta443f5e16bb54fc0de693f92c79c8fb95edfbc20 (diff)
downloadlinux-c93edc639392df733c7d72db4376a9add775d18a.tar.xz
iwlwifi: mvm: fix Rx with both chains
commit 5c90422439d6 "iwlwifi: mvm: don't allow diversity if BT Coex / TT forbid it" broke Rx with 2 chains for diversity. This had an impact on throughput where we're using only a single stream (11a/b/g APs, single stream APs, static SMPS). Fixes: 5c90422439d6 ("iwlwifi: mvm: don't allow diversity if BT Coex / TT forbid it") Cc: Stable <stable@vger.kernel.org> [3.16+] Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/utils.c b/drivers/net/wireless/iwlwifi/mvm/utils.c
index e56e77e..917431e 100644
--- a/drivers/net/wireless/iwlwifi/mvm/utils.c
+++ b/drivers/net/wireless/iwlwifi/mvm/utils.c
@@ -665,7 +665,7 @@ bool iwl_mvm_rx_diversity_allowed(struct iwl_mvm *mvm)
if (num_of_ant(mvm->fw->valid_rx_ant) == 1)
return false;
- if (!mvm->cfg->rx_with_siso_diversity)
+ if (mvm->cfg->rx_with_siso_diversity)
return false;
ieee80211_iterate_active_interfaces_atomic(