OSDN Git Service

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)
commit128f8f773d77d41a7dbcaf5d36325a0f4e7955cd
treef514ad12fb4fc930797e27b4874c846c55989b23
parent77b5621bac4a56b83b9081f48d4e7d1accdde400
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