Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wifi: rtlwifi: pci: wait for firmware loading before releasing memory
mainline inclusion from mainline-v6.14-rc1 category: bugfix 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: 3d86b93 ("rtlwifi: Fix PCI probe error path orphaned memory") Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]> Signed-off-by: Ping-Ke Shih <[email protected]> Link: https://patch.msgid.link/[email protected] (cherry picked from commit b59b86c5d08be7d761c04affcbcec8184738c200) Signed-off-by: Wentao Guan <[email protected]>
- Loading branch information