diff options
author | Thadeu Lima de Souza Cascardo <cascardo@igalia.com> | 2024-11-07 10:33:20 -0300 |
---|---|---|
committer | Ping-Ke Shih <pkshih@realtek.com> | 2024-11-18 09:50:20 +0800 |
commit | b4b26642b31ef282df6ff7ea8531985edfdef12a (patch) | |
tree | 8071a29555590b635c04456f2ec070190c6d4cf3 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8559a9e0c457729fe3edb3176bbf7c7874f482b0 (diff) |
wifi: rtlwifi: wait for firmware loading before releasing memory
At probe error path, the firmware loading work may have already been
queued. In such a case, it will try to access memory allocated by the probe
function, which is about to be released. In such paths, wait for the
firmware worker to finish before releasing memory.
Fixes: a7f7c15e945a ("rtlwifi: rtl8192cu: Free ieee80211_hw if probing fails")
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@igalia.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20241107133322.855112-4-cascardo@igalia.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions