iwlwifi: pcie: lock txq a bit later in reclaim code
authorSara Sharon <sara.sharon@intel.com>
Mon, 27 Aug 2018 11:07:20 +0000 (14:07 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 20 Dec 2018 07:08:25 +0000 (09:08 +0200)
commit3681729429f4626c85a4eb62e5ce76be0b626f87
tree3ba31a782baf3c8428c470eea8d5dd2d8c588063
parent83eabf1e9810f3753d6dafd9a0dc3849924d4fc0
iwlwifi: pcie: lock txq a bit later in reclaim code

In reclaim code, we don't need to take the queue lock for
waking the queue. The code section is executed only when
the tx path is stopped, and since the reclaim path is not
executed in parallel to itself, no one can update the queue
pointers, and accessing them is safe without a lock.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intel/iwlwifi/pcie/tx.c