]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: Reduce window of a queue's tx lock.
authorGertjan van Wingerde <gwingerde@gmail.com>
Wed, 6 Jul 2011 20:57:37 +0000 (22:57 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Jul 2011 17:20:58 +0000 (13:20 -0400)
commit6bf61b2f1de18d96d63229c35bca3c19051e1f70
treef514ad12fb4fc930797e27b4874c846c55989b23
parentbc7e1b2edff2f4376236c748eff691530c4650b5
rt2x00: Reduce window of a queue's tx lock.

Currently a lot of actions that can be done without the queue's tx lock
being held are done inside the locked area.
Move them out to have a leaner and meaner code that operates while the
tx lock is being held.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00queue.c