summaryrefslogtreecommitdiff
path: root/net/wireless/wext-proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless/wext-proc.c')
-rw-r--r--net/wireless/wext-proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/wext-proc.c b/net/wireless/wext-proc.c
index 5511f989ef47..b4c464594a5e 100644
--- a/net/wireless/wext-proc.c
+++ b/net/wireless/wext-proc.c
@@ -142,7 +142,7 @@ static const struct file_operations wireless_seq_fops = {
int __net_init wext_proc_init(struct net *net)
{
/* Create /proc/net/wireless entry */
- if (!proc_create("wireless", S_IRUGO, net->proc_net,
+ if (!proc_create("wireless", 0444, net->proc_net,
&wireless_seq_fops))
return -ENOMEM;