Thadeu Lima de Souza Cascardo <cascardo@xxxxxxxxxx> wrote: > > 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: 3d86b93064c7 ("rtlwifi: Fix PCI probe error path orphaned memory") > Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@xxxxxxxxxx> Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>