iwlwifi: mvm: remove check for non low latency TIDs
authorSara Sharon <sara.sharon@intel.com>
Sun, 4 Feb 2018 13:01:37 +0000 (15:01 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Apr 2018 12:18:07 +0000 (15:18 +0300)
Firmware will only send non low-latency TIDs in the
bitmap, so the check is now redundant.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c

index d0916f2552e2b6c00552dbaf5a21c9a544c0d994..df4c60496f72f908df7cebf21da649e3e3c777f2 100644 (file)
@@ -803,7 +803,6 @@ static int iwl_mvm_tx_tso(struct iwl_mvm *mvm, struct sk_buff *skb,
                return iwl_mvm_tx_tso_segment(skb, 1, netdev_flags, mpdus_skb);
 
        if (iwl_mvm_vif_low_latency(iwl_mvm_vif_from_mac80211(mvmsta->vif)) ||
-           tid_to_mac80211_ac[tid] < IEEE80211_AC_BE ||
            !(mvmsta->amsdu_enabled & BIT(tid)))
                return iwl_mvm_tx_tso_segment(skb, 1, netdev_flags, mpdus_skb);