wifi: iwlwifi: mvm: update iwl_mvm_tx_reclaim() for MLO
authorGregory Greenman <gregory.greenman@intel.com>
Tue, 28 Mar 2023 07:59:08 +0000 (10:59 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 30 Mar 2023 10:07:56 +0000 (12:07 +0200)
commit2c9b92209fce94cbd586e46ef8ffb0faaf180525
tree8bc47f61e2d502db8a8a1c06abeb58570704f9ef
parent4263ac7fe5b2d6d5b3acc4c4192cebe7054bc623
wifi: iwlwifi: mvm: update iwl_mvm_tx_reclaim() for MLO

vif->bss_conf is used in this function only when TLC is not offloaded,
so not in MLO flow. Simplify the related "if" condition and call
iwl_mvm_hwrate_to_tx_status() only for driver rate scale.

Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230328104949.c6826d5b5477.Ib56ec6025c0da3a381aaf88e71085ce9b96a9e65@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c