Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 755a654c authored by Sara Sharon's avatar Sara Sharon Committed by Luca Coelho
Browse files

iwlwifi: mvm: remove check for non low latency TIDs



Firmware will only send non low-latency TIDs in the
bitmap, so the check is now redundant.

Signed-off-by: default avatarSara Sharon <sara.sharon@intel.com>
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent c3039b10
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -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);
		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)) ||
	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)))
	    !(mvmsta->amsdu_enabled & BIT(tid)))
		return iwl_mvm_tx_tso_segment(skb, 1, netdev_flags, mpdus_skb);
		return iwl_mvm_tx_tso_segment(skb, 1, netdev_flags, mpdus_skb);