]> 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>
Sun, 1 Mar 2015 14:54:51 +0000 (16:54 +0200)
commitacae7f907a05402dd71698fa4dbef22747491877
treeb65e6a873602829f09e85eab899295fea4a88f81
parentb330b752ac86f3376f63f94cebb0da5e39b1a27e
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")
Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/rs.c