]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc5a37481702a3f402e1ebeb67554ca80eb663255
tree3c35d75ba7ff93cfa42675e32b6d68e60c048f14
parentfceb9ff2dc49bcdbf7c0f4fbba5db9f3578c743d
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