]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: rs: fix BT Coex check to look at the correct ant
authorEyal Shapira <eyal@wizery.com>
Mon, 2 Feb 2015 13:21:27 +0000 (15:21 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 23 Feb 2015 20:10:38 +0000 (22:10 +0200)
commit10c33f9dd113a31e5421902099413167a25eaf7b
tree39ebc822703b541065cc3a8e1aa4a582d66d641d
parentadd672ad1f03d98b2b56e2e6cd6cfc54fa7934cd
iwlwifi: mvm: rs: fix BT Coex check to look at the correct ant

The check to avoid the shared antenna was passed the wrong
antenna parameter. It should have checked whether the antenna of
the next column we're considering is allowed and instead it was
passed the current antenna.
This could lead to a wrong choice of the next column in the rs
algorithm and non optimal performance.

Fixes: commit a8073a3ddd35c60c2 ("iwlwifi: mvm: rs - don't use the shared antenna when BT load is high")
CC: <stable@vger.kernel.org> [3.19]
Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/rs.c