aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn.c
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2009-09-17 13:43:47 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-07 16:39:34 -0400
commit4e30cb691b9ba62642cc1594ef08f7439deb5a02 (patch)
treea1b67a9352bdde2837be984595c9c4b3e2b71b50 /drivers/net/wireless/iwlwifi/iwl-agn.c
parent1f4b9665032c4a1d60efd9ceaad2781cae6c7e92 (diff)
iwlwifi: use S_IRUGO and S_IWUSR in module parameters
Instead of hardcode module parameter's permissions, use pre-defined. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index 2a7cc4bdf3fd..cf2b481dca6d 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -3322,9 +3322,9 @@ module_exit(iwl_exit);
3322module_init(iwl_init); 3322module_init(iwl_init);
3323 3323
3324#ifdef CONFIG_IWLWIFI_DEBUG 3324#ifdef CONFIG_IWLWIFI_DEBUG
3325module_param_named(debug50, iwl_debug_level, uint, 0444); 3325module_param_named(debug50, iwl_debug_level, uint, S_IRUGO);
3326MODULE_PARM_DESC(debug50, "50XX debug output mask (deprecated)"); 3326MODULE_PARM_DESC(debug50, "50XX debug output mask (deprecated)");
3327module_param_named(debug, iwl_debug_level, uint, 0644); 3327module_param_named(debug, iwl_debug_level, uint, S_IRUGO | S_IWUSR);
3328MODULE_PARM_DESC(debug, "debug output mask"); 3328MODULE_PARM_DESC(debug, "debug output mask");
3329#endif 3329#endif
3330 3330