iwlwifi: mvm: BT Coex - fix TLC with old API
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 8 Jul 2014 05:44:31 +0000 (08:44 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 8 Jul 2014 05:44:31 +0000 (08:44 +0300)
A copy paste issue broke the rate control when a firmware
with the old API is used.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/coex.c

index 8110fe00bf5512635e5a050655c4d5ea7d011d68..e0a5cf29c38e20f3ded1f4d8f29098da56acdd13 100644 (file)
@@ -1150,7 +1150,7 @@ bool iwl_mvm_bt_coex_is_mimo_allowed(struct iwl_mvm *mvm,
        enum iwl_bt_coex_lut_type lut_type;
 
        if (!(mvm->fw->ucode_capa.api[0] & IWL_UCODE_TLV_API_BT_COEX_SPLIT))
-               return iwl_mvm_coex_agg_time_limit_old(mvm, sta);
+               return iwl_mvm_bt_coex_is_mimo_allowed_old(mvm, sta);
 
        if (IWL_COEX_IS_TTC_ON(mvm->last_bt_notif.ttc_rrc_status, phy_ctxt->id))
                return true;