iwlwifi: reduce sta_lock hold time in TX
authorJohannes Berg <johannes.berg@intel.com>
Mon, 5 Mar 2012 19:24:21 +0000 (11:24 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 6 Mar 2012 20:16:08 +0000 (15:16 -0500)
commit71cb99241d63b26a41c9cce6ed441bc30f90224a
tree3c35d75ba7ff93cfa42675e32b6d68e60c048f14
parentf2b69ef022aba3fe436bb03664cf12b261cb64d1
iwlwifi: reduce sta_lock hold time in TX

When we TX, we hold the sta_lock for a long
time, a lot of which isn't needed. Reduce
the time we hold the lock. Note that this
doesn't really change anything as the code
is already under the other spinlock, but it
makes the code easier to read.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-tx.c