Search Linux Wireless

[PATCH] iwlwifi 3945 debug parameter should be writable via sysfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is there any reason why the debug parameter in the iwlwifi driver
should be read-only?

(Patch inlined and attached since I'm sure it will get whitespace
broken).


The debug parameter of the Intel 3945ABG driver should be writable
via sysfs.

Signed-off-by: SL Baur <steve@xxxxxxxxxx>
---
This patch is against Linus' 2.6.25 release.

--- linux-2.6/drivers/net/wireless/iwlwifi/iwl3945-base.c~	2008-04-17
10:15:33.000000000 -0700
+++ linux-2.6/drivers/net/wireless/iwlwifi/iwl3945-base.c	2008-04-20
23:49:35.000000000 -0700
@@ -8855,7 +8855,7 @@ MODULE_PARM_DESC(disable, "manually disa
 module_param_named(hwcrypto, iwl3945_param_hwcrypto, int, 0444);
 MODULE_PARM_DESC(hwcrypto,
 		 "using hardware crypto engine (default 0 [software])\n");
-module_param_named(debug, iwl3945_param_debug, int, 0444);
+module_param_named(debug, iwl3945_param_debug, int, 0644);
 MODULE_PARM_DESC(debug, "debug output mask");
 module_param_named(disable_hw_scan, iwl3945_param_disable_hw_scan, int, 0444);
 MODULE_PARM_DESC(disable_hw_scan, "disable hardware scanning (default 0)");

-sb

Attachment: iwl3945-debug.patch
Description: Binary data


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux