diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2014-02-19 09:15:11 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-02-24 21:21:55 +0100 |
commit | dbdac2b581811e1f2a573454451136c2497de4fc (patch) | |
tree | fe9d80baf342f26d5db00729ed0c98eb57c06312 /drivers/net/wireless/iwlegacy/common.h | |
parent | iwlegacy: merge reclaim check (diff) | |
download | linux-dbdac2b581811e1f2a573454451136c2497de4fc.tar.xz linux-dbdac2b581811e1f2a573454451136c2497de4fc.zip |
iwlegacy: properly enable power saving
Even if we mark PS on, device still worked in normal mode. Patch
corrects that and now we send proper powertable command to device,
which put it in sleep mode when PS is on.
Reported-and-tested-by: Tino Keitel <tino.keitel@tikei.de>
Tested-by: Pedro Francisco <pedrogfrancisco@gmail.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/common.h')
-rw-r--r-- | drivers/net/wireless/iwlegacy/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlegacy/common.h b/drivers/net/wireless/iwlegacy/common.h index 21964d2cad83..13145ad2c0db 100644 --- a/drivers/net/wireless/iwlegacy/common.h +++ b/drivers/net/wireless/iwlegacy/common.h @@ -1123,6 +1123,7 @@ struct il_power_mgr { struct il_powertable_cmd sleep_cmd_next; int debug_sleep_level_override; bool pci_pm; + bool ps_disabled; }; struct il_priv { |