iwlwifi: pcie: fix rb_allocator workqueue allocation
commit 8188a18e upstream We don't handle failures in the rb_allocator workqueue allocation correctly. To fix that, move the code earlier so the cleanup is easier and we don't have to undo all the interrupt allocations in this case. Signed-off-by:Johannes Berg <johannes.berg@intel.com> Signed-off-by:
Luca Coelho <luciano.coelho@intel.com> [Ajay: Modified to apply on v4.19.y and v4.14.y] Signed-off-by:
Ajay Kaher <akaher@vmware.com> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Showing
Please register or sign in to comment