mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
wifi: iwlwifi: mld: use the right iface iterator in low_latency
We used ieee80211_iterate_active_interfaces instead of ieee80211_iterate_active_interfaces_mtx, which is the one to use when the wiphy lock is held. Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Reviewed-by: Daniel Gabay <daniel.gabay@intel.com> Reviewed-by: Benjamin Berg <benjamin.berg@intel.com> Link: https://patch.msgid.link/20250309073442.925cdca61ed0.I34f5c52d27414cb4c301bbd24df7c3530a43fa1d@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
6895d74c11
commit
29b0ca82c1
|
|
@ -120,9 +120,9 @@ static void iwl_mld_low_latency_wk(struct wiphy *wiphy, struct wiphy_work *wk)
|
|||
wiphy_delayed_work_queue(mld->wiphy, &mld->low_latency.work,
|
||||
MLD_LL_ACTIVE_WK_PERIOD);
|
||||
|
||||
ieee80211_iterate_active_interfaces(mld->hw,
|
||||
IEEE80211_IFACE_ITER_NORMAL,
|
||||
iwl_mld_low_latency_iter, mld);
|
||||
ieee80211_iterate_active_interfaces_mtx(mld->hw,
|
||||
IEEE80211_IFACE_ITER_NORMAL,
|
||||
iwl_mld_low_latency_iter, mld);
|
||||
}
|
||||
|
||||
int iwl_mld_low_latency_init(struct iwl_mld *mld)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user