Message ID | 201107081103.44726.jdelvare@suse.de (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
--- 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;
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> Cc: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/staging/brcm80211/brcmfmac/dhd_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)