diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2013-10-06 08:08:48 (GMT) |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-10-11 07:58:44 (GMT) |
commit | e9fff7767e36d1ad993f9b4c0a2b5fc173268585 (patch) | |
tree | fcff7b8440a463b1f7d2559ccf369d3de4c9e6d0 /drivers/net | |
parent | 5961257a9bc6371d0eb63cb639e38a1bcbe8a41a (diff) | |
download | linux-fsl-qoriq-e9fff7767e36d1ad993f9b4c0a2b5fc173268585.tar.xz |
iwlwifi: mvm: BT Coex - remove duplicate code in rate control
The code limiting the AMPDU length due to BT traffic was
duplicated. Remove the redundant code.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/rs.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/rs.c b/drivers/net/wireless/iwlwifi/mvm/rs.c index dfd8025..0faeecc 100644 --- a/drivers/net/wireless/iwlwifi/mvm/rs.c +++ b/drivers/net/wireless/iwlwifi/mvm/rs.c @@ -2530,13 +2530,6 @@ static void rs_fill_link_cmd(struct iwl_mvm *mvm, if (sta) lq_cmd->agg_time_limit = cpu_to_le16(iwl_mvm_bt_coex_agg_time_limit(mvm, sta)); - - /* - * overwrite if needed, pass aggregation time limit - * to uCode in uSec - This is racy - but heh, at least it helps... - */ - if (mvm && le32_to_cpu(mvm->last_bt_notif.bt_activity_grading) >= 2) - lq_cmd->agg_time_limit = cpu_to_le16(1200); } static void *rs_alloc(struct ieee80211_hw *hw, struct dentry *debugfsdir) |