From 5fa88f3873e2d0afde618566d31e936a150be62a Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Fri, 8 Jul 2011 11:03:44 +0200 Subject: [PATCH] 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: Jean Delvare Cc: Henry Ptasinski Cc: Brett Rudley Cc: Roland Vossen Cc: Arend van Spriel Signed-off-by: Greg Kroah-Hartman --- drivers/staging/brcm80211/brcmfmac/dhd_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/brcm80211/brcmfmac/dhd_linux.c b/drivers/staging/brcm80211/brcmfmac/dhd_linux.c index 380447f86577..6c8599c972ad 100644 --- a/drivers/staging/brcm80211/brcmfmac/dhd_linux.c +++ b/drivers/staging/brcm80211/brcmfmac/dhd_linux.c @@ -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); -- 2.39.5