Skip to contentSkip to conversation

staging: brcm80211: Fix module parameter permissions

PATCH New Jean Delvare 1 participant 1 message Jul 8, 2011 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Cc Henry Ptasinski <[email protected]>
Cc Brett Rudley <[email protected]>
Cc Roland Vossen <[email protected]>
Cc Arend van Spriel <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
---
 drivers/staging/brcm80211/brcmfmac/dhd_linux.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/brcm80211/brcmfmac/dhd_linux.c +1 -1
@@ -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;
Signature · 2 lines
Jean Delvare
Suse L3