Skip to content

Commit

Permalink
staging: brcm80211: Fix module parameter permissions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jdelvare authored and gregkh committed Jul 8, 2011
1 parent 98c0a9c commit 5fa88f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/brcm80211/brcmfmac/dhd_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 5fa88f3

Please sign in to comment.