diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2008-03-19 09:25:18 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-25 16:41:49 -0400 |
commit | d4ff0ef635b222d5f66dad65e9364d702e5f94e0 (patch) | |
tree | 048e3396088a81a945c1af6d0a8493b9f145fd56 /drivers/net/wireless/libertas/main.c | |
parent | c49c3b77c8c611f562ca4e201d88d3e69465f928 (diff) |
libertas: misc power saving adjusts
* firmware for the CF card supports power saving
* the driver currenly only accept "iwconfig ethX power on|off", so
I fixed what the range wext ioctl reports.
* initialize value/flags in lbs_get_power()
* get rid of unused parameter psmode in lbs_ps_confirm_sleep()
* some minor debug output tweaks
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/main.c')
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index 37cc05044cd7..449e84f89ae7 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c | |||
@@ -803,7 +803,7 @@ static int lbs_thread(void *data) | |||
803 | lbs_deb_thread("main_thread: PRE_SLEEP--intcounter=%d currenttxskb=%p dnld_sent=%d cur_cmd=%p, confirm now\n", | 803 | lbs_deb_thread("main_thread: PRE_SLEEP--intcounter=%d currenttxskb=%p dnld_sent=%d cur_cmd=%p, confirm now\n", |
804 | priv->intcounter, priv->currenttxskb, priv->dnld_sent, priv->cur_cmd); | 804 | priv->intcounter, priv->currenttxskb, priv->dnld_sent, priv->cur_cmd); |
805 | 805 | ||
806 | lbs_ps_confirm_sleep(priv, (u16) priv->psmode); | 806 | lbs_ps_confirm_sleep(priv); |
807 | } else { | 807 | } else { |
808 | /* workaround for firmware sending | 808 | /* workaround for firmware sending |
809 | * deauth/linkloss event immediately | 809 | * deauth/linkloss event immediately |