kernel_samsung_a53x/drivers/net/wireless/intel/iwlwifi/mvm
Daniel Gabay 00e8046b39 wifi: iwlwifi: mvm: Fix response handling in iwl_mvm_send_recovery_cmd()
[ Upstream commit 07a6e3b78a65f4b2796a8d0d4adb1a15a81edead ]

1. The size of the response packet is not validated.
2. The response buffer is not freed.

Resolve these issues by switching to iwl_mvm_send_cmd_status(),
which handles both size validation and frees the buffer.

Fixes: f130bb75d881 ("iwlwifi: add FW recovery flow")
Signed-off-by: Daniel Gabay <daniel.gabay@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20241010140328.76c73185951e.Id3b6ca82ced2081f5ee4f33c997491d0ebda83f7@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:22:03 +01:00
..
binding.c
coex.c
constants.h
d3.c
debugfs-vif.c
debugfs.c
debugfs.h
ftm-initiator.c wifi: iwlwifi: mvm: remove old PASN station when adding a new one 2024-11-19 11:32:36 +01:00
ftm-responder.c
fw-api.h
fw.c wifi: iwlwifi: mvm: Fix response handling in iwl_mvm_send_recovery_cmd() 2024-11-23 23:22:03 +01:00
led.c
mac-ctxt.c
mac80211.c wifi: iwlwifi: mvm: don't wait for tx queues if firmware is dead 2024-11-23 23:21:15 +01:00
Makefile
mvm.h
nvm.c
offloading.c
ops.c wifi: iwlwifi: remove fw_running op 2024-11-23 23:20:58 +01:00
phy-ctxt.c
power.c
quota.c
rs-fw.c
rs.c
rs.h wifi: iwlwifi: mvm: revert gen2 TX A-MPDU size to 64 2024-11-19 14:19:00 +01:00
rx.c
rxmq.c
scan.c wifi: iwlwifi: abort scan when rfkill on but device enabled 2024-11-23 23:20:45 +01:00
sf.c
sta.c
sta.h
tdls.c
testmode.h
time-event.c
time-event.h
tt.c
tx.c
utils.c