]> 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)
commitf1bd3796424477d908d03bfd8ebc1bf41147c095
treefe9d80baf342f26d5db00729ed0c98eb57c06312
parent05160bc3cbfa922f2ba4d756d52860c58f77fed4
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