libertas: kill internal tx queue for PS mode
authorDavid Woodhouse <dwmw2@infradead.org>
Sun, 9 Dec 2007 17:37:27 +0000 (12:37 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:06:22 +0000 (15:06 -0800)
commit2abdc0b7756ece70b1f0fd65a651bf8ce487a223
tree02f4e118f0e7eaa8ee05dbcdfa6ec7f4cffb1263
parent020bb19e2f8cfebb314b8bce4bc48a511c6f5940
libertas: kill internal tx queue for PS mode

It was buggy as hell anyway, since it was just spewing packets at the
device when it wasn't necessarily ready for them (in the USB case, while
the URB was still busy).

We could probably do with a better way of flushing packets to the device
_immediately_, before we stick it back into sleep mode. But we can no
longer just dequeue packets directly, it seems.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/decl.h
drivers/net/wireless/libertas/dev.h
drivers/net/wireless/libertas/main.c
drivers/net/wireless/libertas/tx.c