]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: iwlwifi: mvm: set A-MSDU size on the correct link
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Fri, 10 May 2024 14:06:36 +0000 (17:06 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 23 May 2024 08:50:21 +0000 (10:50 +0200)
The existing code sets the max A-MSDU size to the deflink, set it
on the given link instead.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240510170500.4de5c1a031ca.I063bc1508e5068b32e321b0f268bc51dba0c0747@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c

index 884fd56e74263dd4b0a5b4c591585e0505472578..031b5e70d1811289e5682e3355642102e583d353 100644 (file)
@@ -653,7 +653,7 @@ void iwl_mvm_rs_fw_rate_init(struct iwl_mvm *mvm,
         * since TLC offload works with one mode we can assume
         * that only vht/ht is used and also set it as station max amsdu
         */
-       sta->deflink.agg.max_amsdu_len = max_amsdu_len;
+       link_sta->agg.max_amsdu_len = max_amsdu_len;
 
        cfg_cmd.max_tx_op = cpu_to_le16(mvmvif->max_tx_op);