]> Pileus Git - ~andy/linux/commitdiff
staging: brcm80211: Fix module parameter permissions
authorJean Delvare <jdelvare@suse.de>
Fri, 8 Jul 2011 09:03:44 +0000 (11:03 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Jul 2011 21:08:36 +0000 (14:08 -0700)
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@suse.de>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Brett Rudley <brudley@broadcom.com>
Cc: Roland Vossen <rvossen@broadcom.com>
Cc: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/dhd_linux.c

index 380447f86577b71a93ac8c08f240d98eca3a9d70..6c8599c972add41905ab1f08c56845315e9d724f 100644 (file)
@@ -111,7 +111,7 @@ module_param(brcmf_pkt_filter_init, uint, 0);
 
 /* Pkt filter mode control */
 uint brcmf_master_mode = true;
-module_param(brcmf_master_mode, uint, 1);
+module_param(brcmf_master_mode, uint, 0);
 
 module_param(brcmf_dongle_memsize, int, 0);