Skip to content

Commit ac251da

Browse files
committed
wifi: iwlwifi: mvm: don't check dtim_period in new API
In newer firmware APIs the firmware is responsible for tracking the DTIM period and other beacon timing, so we don't need to wait with setting associated. In real MLO operation, mac80211 isn't tracking this anyway, and connections wouldn't work. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Gregory Greenman <[email protected]> Link: https://lore.kernel.org/r/20230328104949.02354241fede.Id957bed3851fdf1fe902d79a1b0338c6d80bc0e1@changeid Signed-off-by: Johannes Berg <[email protected]>
1 parent 1a3e703 commit ac251da

File tree

1 file changed

+1
-3
lines changed
  • drivers/net/wireless/intel/iwlwifi/mvm

1 file changed

+1
-3
lines changed

drivers/net/wireless/intel/iwlwifi/mvm/mld-mac.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,7 @@ static int iwl_mvm_mld_mac_ctxt_cmd_sta(struct iwl_mvm *mvm,
102102
cmd.client.ctwin =
103103
iwl_mvm_mac_ctxt_cmd_p2p_sta_get_oppps_ctwin(mvm, vif);
104104

105-
/* FIXME: assume for now that DTIM period is the same for all links */
106-
if (vif->cfg.assoc && vif->bss_conf.dtim_period &&
107-
!force_assoc_off) {
105+
if (vif->cfg.assoc && !force_assoc_off) {
108106
struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
109107

110108
cmd.client.is_assoc = cpu_to_le32(1);

0 commit comments

Comments
 (0)