mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 09:02:06 +00:00
iwlwifi: pcie: fix A-MSDU on gen2 devices
The return status check of iwl_pcie_gen2_build_amsdu
was buggy. Fix it.
Fixes: 6ffe5de35b
("iwlwifi: pcie: add AMSDU to gen2")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
parent
bec9522aa5
commit
c1b68c194e
1 changed files with 3 additions and 3 deletions
|
@ -422,9 +422,9 @@ 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,
|
||||
tb1_len + IWL_FIRST_TB_SIZE,
|
||||
hdr_len, dev_cmd))
|
||||
if (iwl_pcie_gen2_build_amsdu(trans, skb, tfd,
|
||||
tb1_len + IWL_FIRST_TB_SIZE,
|
||||
hdr_len, dev_cmd))
|
||||
goto out_err;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue