diff mbox series

[09/14] wifi: iwlwifi: mvm: set amsdu size to the correct link

Message ID 20240510170500.4de5c1a031ca.I063bc1508e5068b32e321b0f268bc51dba0c0747@changeid
State New
Headers show
Series wifi: iwlwifi: updates - 2024-05-10 | expand

Commit Message

Korenblit, Miriam Rachel May 10, 2024, 2:06 p.m. UTC
The exising code sets the max AMSDU size to the deflink, set it to the
given link instead.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
---
 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c b/drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c
index 884fd56e7426..031b5e70d181 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c
@@ -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);