]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iwlegacy: properly enable power saving
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 19 Feb 2014 08:15:11 +0000 (09:15 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 Feb 2014 20:21:55 +0000 (15:21 -0500)
commitdbdac2b581811e1f2a573454451136c2497de4fc
treefe9d80baf342f26d5db00729ed0c98eb57c06312
parent8e67427aca2f0dda148181af930732734f6e2e42
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>
drivers/net/wireless/iwlegacy/commands.h
drivers/net/wireless/iwlegacy/common.c
drivers/net/wireless/iwlegacy/common.h