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>
This commit is contained in:

committed by
John W. Linville

parent
8e67427aca
commit
dbdac2b581
@@ -2270,7 +2270,8 @@ struct il_spectrum_notification {
|
||||
*/
|
||||
#define IL_POWER_VEC_SIZE 5
|
||||
|
||||
#define IL_POWER_DRIVER_ALLOW_SLEEP_MSK cpu_to_le16(BIT(0))
|
||||
#define IL_POWER_DRIVER_ALLOW_SLEEP_MSK cpu_to_le16(BIT(0))
|
||||
#define IL_POWER_SLEEP_OVER_DTIM_MSK cpu_to_le16(BIT(2))
|
||||
#define IL_POWER_PCI_PM_MSK cpu_to_le16(BIT(3))
|
||||
|
||||
struct il3945_powertable_cmd {
|
||||
|
Reference in New Issue
Block a user