ath9k: Do not support PowerSave by default
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Tue, 4 Feb 2014 03:07:53 +0000 (08:37 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Feb 2014 21:32:25 +0000 (13:32 -0800)
commitc7a4978f970e78a009b4aae79317fd922f4e0122
tree909c567c01e3b77b391cc276e919d0d93029ffaf
parentf419ef66970eb9d45094deb69385c2bbb88f52f1
ath9k: Do not support PowerSave by default

commit 8298383c2cd5a6d0639f1bb1781fba181bd20154 upstream.

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.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/ath/ath9k/init.c