]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: fix rb_allocator workqueue allocation
authorJohannes Berg <johannes.berg@intel.com>
Thu, 19 Sep 2019 07:04:09 +0000 (09:04 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 9 Oct 2019 10:01:05 +0000 (13:01 +0300)
commit9caa1228742648bbe23b35a901ed395a4811cf68
tree7dfdf37fd389d4cbba9b505b10d5535e412c1e40
parent31ec4e7f1d91ab78fbc2e065ea478c8df03eac6a
iwlwifi: pcie: fix rb_allocator workqueue allocation

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>
drivers/net/wireless/intel/iwlwifi/pcie/trans.c