]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_htc: Do not support PowerSave by default
authorOleksij Rempel <linux@rempel-privat.de>
Thu, 30 Jan 2014 08:14:53 +0000 (09:14 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Feb 2014 20:30:07 +0000 (15:30 -0500)
commitc5a7af99193347b612d468eaf50ee71525c56792
tree3ef0c4c858db7ca9776dc663f8ff9c936f1fab2a
parentda44aaa799b47c017e3454adec769bf422ccc2fd
ath9k_htc: Do not support PowerSave by default

It is a copy/paste of patch provided by Sujith for ath9k.

"Even though we make sure PowerSave is not enabled by default
by disabling the flag, WIPHY_FLAG_PS_ON_BY_DEFAULT on init,
PS could be enabled by userspace based on various factors
like battery usage etc. Since PS in ath9k is just broken
and has been untested for years, remove support for it, but
allow a user to explicitly enable it using a module parameter."

Cc: stable@vger.kernel.org
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc_drv_init.c