Search Linux Wireless

[PATCH] staging: brcm80211: Fix module parameter permissions

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

 



The third parameter of module_param is supposed to represent sysfs
file permissions. A value of "1" makes no sense.

I am changing it to "0" to align with the other module parameters in
this driver.

Signed-off-by: Jean Delvare <jdelvare@xxxxxxx>
Cc: Henry Ptasinski <henryp@xxxxxxxxxxxx>
Cc: Brett Rudley <brudley@xxxxxxxxxxxx>
Cc: Roland Vossen <rvossen@xxxxxxxxxxxx>
Cc: Arend van Spriel <arend@xxxxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxx>
---
 drivers/staging/brcm80211/brcmfmac/dhd_linux.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-3.0-rc6.orig/drivers/staging/brcm80211/brcmfmac/dhd_linux.c	2011-05-30 20:45:16.000000000 +0200
+++ linux-3.0-rc6/drivers/staging/brcm80211/brcmfmac/dhd_linux.c	2011-07-08 10:14:52.000000000 +0200
@@ -300,7 +300,7 @@ module_param(dhd_pkt_filter_init, uint,
 
 /* Pkt filter mode control */
 uint dhd_master_mode = true;
-module_param(dhd_master_mode, uint, 1);
+module_param(dhd_master_mode, uint, 0);
 
 /* Watchdog thread priority, -1 to use kernel timer */
 int dhd_watchdog_prio = 97;

-- 
Jean Delvare
Suse L3
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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