diff options
author | Daniel Gabay <daniel.gabay@intel.com> | 2024-10-10 14:05:05 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-10-25 18:53:33 +0300 |
commit | 07a6e3b78a65f4b2796a8d0d4adb1a15a81edead (patch) | |
tree | 21d84710ade4961b4b44133e0bdfbb03726b1cc9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 32d95ab330069f9c551b8e99770bb4e799730b55 (diff) | |
download | linux-07a6e3b78a65f4b2796a8d0d4adb1a15a81edead.tar.xz |
wifi: iwlwifi: mvm: Fix response handling in iwl_mvm_send_recovery_cmd()
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions