From: Ido Yariv Date: Tue, 1 Mar 2011 13:14:43 +0000 (+0200) Subject: wl12xx: Avoid redundant TX work X-Git-Tag: v2.6.39-rc1~468^2~88^2^2~47^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b07d4037051318d47c055384ef887535a0ed2d1e;p=pandora-kernel.git wl12xx: Avoid redundant TX work TX might be handled in the threaded IRQ handler, in which case, TX work might be scheduled just to discover it has nothing to do. Save a few context switches by cancelling redundant TX work in case TX is about to be handled in the threaded IRQ handler. Also, avoid scheduling TX work from wl1271_op_tx if not needed. Signed-off-by: Ido Yariv Reviewed-by: Luciano Coelho Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed