]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
libertas: allow for PS mode to be disabled when firmware doesn't support it
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 17 Dec 2007 19:41:13 +0000 (14:41 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:07:42 +0000 (15:07 -0800)
commitb2c57eee66592e22327bf39b42c4e3dc24708213
treed521906845ae41d7277f78be1ee28ab5fb7f33fd
parentb47ef2438dea2ddad4561152aa8007a2d95e8157
libertas: allow for PS mode to be disabled when firmware doesn't support it

Otherwise, we go into an endless busy loop trying to enable PS mode when
the command queue is empty, dealing with the error response, and then
trying to enable PS mode again because the command queue is empty.... it
doesn't really save much power.

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