Commit 5fa88f38 authored by Jean Delvare's avatar Jean Delvare Committed by Greg Kroah-Hartman

staging: brcm80211: Fix module parameter permissions

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: default avatarJean 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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 98c0a9c9
...@@ -111,7 +111,7 @@ module_param(brcmf_pkt_filter_init, uint, 0); ...@@ -111,7 +111,7 @@ module_param(brcmf_pkt_filter_init, uint, 0);
/* Pkt filter mode control */ /* Pkt filter mode control */
uint brcmf_master_mode = true; 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); module_param(brcmf_dongle_memsize, int, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment