diff options
author | 2025-04-23 09:16:34 +0300 | |
---|---|---|
committer | 2025-04-23 15:37:38 +0200 | |
commit | fab65a1a6c6ec94e0c34b850b0c2a4b576fae179 (patch) | |
tree | 78e6b919dc417595d030bf1386c0de1d9fda3678 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | wifi: iwlwifi: mld: avoid memory leak if mcc_init fails (diff) | |
download | wireguard-linux-fab65a1a6c6ec94e0c34b850b0c2a4b576fae179.tar.xz wireguard-linux-fab65a1a6c6ec94e0c34b850b0c2a4b576fae179.zip |
wifi: iwlwifi: mld: stop hw if mcc_init fails
iwl_mld_run_fw_init_sequence used to be the last thing done in
iwl_mld_load_fw, and if it failed, it called iwl_trans_stop_hw.
Now we also have there iwl_mld_init_mcc, and it can fail.
In that case, we need to undo what we did so far, which is basically only
iwl_trans_stop_device. Do that.
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Link: https://patch.msgid.link/20250423091408.ba06d972a57b.I317fb7b10ed8a688a0d92c5d99de8765d8044b10@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