wifi: iwlwifi: mvm: set A-MSDU size on the correct link

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>
This commit is contained in:
Miri Korenblit 2024-05-10 17:06:36 +03:00 committed by Johannes Berg
parent 7c789b91f5
commit bb3261943f

View 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);