diff options
| author | Johannes Berg <[email protected]> | 2024-07-03 03:43:14 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2024-07-03 14:06:05 +0000 |
| commit | 28e02bc9f412c3344b0e1f0c657dc6305ac75b4c (patch) | |
| tree | fd65f9a4e1c11e9626d1a6cf9b4273a03c57bed0 /drivers/net/wireless/intel/iwlwifi/mvm/ops.c | |
| parent | wifi: iwlwifi: mvm: don't wake up rx_sync_waitq upon RFKILL (diff) | |
| download | kernel-28e02bc9f412c3344b0e1f0c657dc6305ac75b4c.tar.gz kernel-28e02bc9f412c3344b0e1f0c657dc6305ac75b4c.zip | |
wifi: iwlwifi: mvm: avoid link lookup in statistics
We already iterate the link bss_conf/link_info and have the
pointer, or know that deflink/bss_conf is used, so avoid an
extra lookup and just pass the pointer. This may also avoid
a crash when this is processed during restart, where the FW
to link conf array (link_id_to_link_conf) may be NULLed out.
Fixes: c1e458b987f2 ("wifi: iwlwifi: mvm: Move beacon filtering to be per link")
Signed-off-by: Johannes Berg <[email protected]>
Reviewed-by: Ilan Peer <[email protected]>
Signed-off-by: Miri Korenblit <[email protected]>
Link: https://patch.msgid.link/20240703064026.346a6ef67a86.Iba5d65d728ca9f58518c88d029496c1250670544@changeid
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/ops.c')
0 files changed, 0 insertions, 0 deletions
