]> git.openpandora.org Git - pandora-kernel.git/commitdiff
iwlwifi: pcie: speed up the Tx DMA stop flow
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 25 Feb 2015 13:49:39 +0000 (15:49 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 12 Mar 2015 07:57:35 +0000 (09:57 +0200)
We don't need to acquire MAC access for each access, it
makes much more sense to keep the MAC access. This speeds
up the Tx DMA stop flow significantly.
Moreover, if one channel can't be stopped, stop the others
but don't poll for them to avoid being stuck there for a
long time.

This solves a situation in which we were stuck in that flow
for way too long with a spinlock held which led to a kernel
panic.

Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>

No differences found