]> 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)
commitde094e976746585a126cc3720d3e6288d69c5dca
treef514ad12fb4fc930797e27b4874c846c55989b23
parentf6727c39d4cc710adafd0511eaa78beb8016c3e3
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