diff mbox

iwlcore: Allow runtime configuration of no_sleep_autoadjust

Message ID cb0375e10911081130k5d8f8347y999cf66a98e6898a@mail.gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Andrew Lutomirski Nov. 8, 2009, 7:30 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/net/wireless/iwlwifi/iwl-power.c
b/drivers/net/wireless/iwlwifi/iwl-power.c
index 60be976..4eba1ab 100644
--- a/drivers/net/wireless/iwlwifi/iwl-power.c
+++ b/drivers/net/wireless/iwlwifi/iwl-power.c
@@ -54,7 +54,7 @@ 
  * adjusting ...
  */
 bool no_sleep_autoadjust = true;
-module_param(no_sleep_autoadjust, bool, S_IRUGO);
+module_param(no_sleep_autoadjust, bool, S_IRUGO | S_IWUSR);
 MODULE_PARM_DESC(no_sleep_autoadjust,
 		 "don't automatically adjust sleep level "
 		 "according to maximum network latency");