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

Commit c1b68c19 authored by Emmanuel Grumbach's avatar Emmanuel Grumbach Committed by Luca Coelho
Browse files

iwlwifi: pcie: fix A-MSDU on gen2 devices



The return status check of iwl_pcie_gen2_build_amsdu
was buggy. Fix it.

Fixes: 6ffe5de3 ("iwlwifi: pcie: add AMSDU to gen2")
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent bec9522a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -422,7 +422,7 @@ struct iwl_tfh_tfd *iwl_pcie_gen2_build_tfd(struct iwl_trans *trans,
	hdr_len = ieee80211_hdrlen(hdr->frame_control);

	if (amsdu) {
		if (!iwl_pcie_gen2_build_amsdu(trans, skb, tfd,
		if (iwl_pcie_gen2_build_amsdu(trans, skb, tfd,
					      tb1_len + IWL_FIRST_TB_SIZE,
					      hdr_len, dev_cmd))
			goto out_err;