mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-25 22:10:59 -05:00
wifi: iwlwifi: mld: fix copy/paste error
iwl_mld_emlsr_tmp_non_bss_done_wk used the wrong work name (prevent_done_wk) to extract the mld_vif pointer, so the pointer was a wrong one, leading to a page fault. Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250313002008.aabb2232f9dd.I7cb24458a747e8363df2bf1ff848db6a9d472f60@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
committed by
Johannes Berg
parent
892998c759
commit
bb307028a0
@@ -99,7 +99,7 @@ void iwl_mld_emlsr_tmp_non_bss_done_wk(struct wiphy *wiphy,
|
||||
struct wiphy_work *wk)
|
||||
{
|
||||
struct iwl_mld_vif *mld_vif = container_of(wk, struct iwl_mld_vif,
|
||||
emlsr.prevent_done_wk.work);
|
||||
emlsr.tmp_non_bss_done_wk.work);
|
||||
struct ieee80211_vif *vif =
|
||||
container_of((void *)mld_vif, struct ieee80211_vif, drv_priv);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user