aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/dev.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2007-12-17 14:41:13 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:07:42 -0500
commitb2c57eee66592e22327bf39b42c4e3dc24708213 (patch)
treed521906845ae41d7277f78be1ee28ab5fb7f33fd /drivers/net/wireless/libertas/dev.h
parentb47ef2438dea2ddad4561152aa8007a2d95e8157 (diff)
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>
Diffstat (limited to 'drivers/net/wireless/libertas/dev.h')
-rw-r--r--drivers/net/wireless/libertas/dev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/dev.h b/drivers/net/wireless/libertas/dev.h
index fe5045757356..1c6ec4d61988 100644
--- a/drivers/net/wireless/libertas/dev.h
+++ b/drivers/net/wireless/libertas/dev.h
@@ -260,6 +260,7 @@ struct lbs_private {
260 u16 psmode; /* Wlan802_11PowermodeCAM=disable 260 u16 psmode; /* Wlan802_11PowermodeCAM=disable
261 Wlan802_11PowermodeMAX_PSP=enable */ 261 Wlan802_11PowermodeMAX_PSP=enable */
262 u32 psstate; 262 u32 psstate;
263 char ps_supported;
263 u8 needtowakeup; 264 u8 needtowakeup;
264 265
265 struct PS_CMD_ConfirmSleep lbs_ps_confirm_sleep; 266 struct PS_CMD_ConfirmSleep lbs_ps_confirm_sleep;