]> 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)
commit4132bef42bb976e930b80f7e370ba3bf283b5889
tree7dfdf37fd389d4cbba9b505b10d5535e412c1e40
parent1e78b61a8c9bb16e81f50d1bd430e39bc6da846d
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