mwl8k: allow limiting the amount of transmit reclaim done
authorLennert Buytenhek <buytenh@wantstofly.org>
Fri, 8 Jan 2010 17:31:47 +0000 (18:31 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Jan 2010 19:02:10 +0000 (14:02 -0500)
commitefb7c49a68cf206f35793d7799608e1d69a209f9
tree84121e89eddcf9ff0a8fbdb585cecbcf248a0e50
parentb64fe619e371fc17d8d686d6d44aef1b41317880
mwl8k: allow limiting the amount of transmit reclaim done

Add a limit argument to mwl8k_txq_reclaim(), to allow limiting the
number of packets that it will reclaim, and make it return the number
of packets that it reclaimed.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c