]> git.baikalelectronics.ru Git - kernel.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)
commita676c8a369ae762d2cc7860e92b62133ba417af5
treefe9d80baf342f26d5db00729ed0c98eb57c06312
parentfd0273467ad80b85738fc6cb187d58abcae9c4f9
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