diff options
Diffstat (limited to 'net/mac80211/debugfs.c')
-rw-r--r-- | net/mac80211/debugfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c index 4736c64937b4..f4bb08b62d1a 100644 --- a/net/mac80211/debugfs.c +++ b/net/mac80211/debugfs.c | |||
@@ -37,7 +37,7 @@ static const struct file_operations name## _ops = { \ | |||
37 | }; | 37 | }; |
38 | 38 | ||
39 | #define DEBUGFS_ADD(name) \ | 39 | #define DEBUGFS_ADD(name) \ |
40 | local->debugfs.name = debugfs_create_file(#name, 0444, phyd, \ | 40 | local->debugfs.name = debugfs_create_file(#name, 0400, phyd, \ |
41 | local, &name## _ops); | 41 | local, &name## _ops); |
42 | 42 | ||
43 | #define DEBUGFS_DEL(name) \ | 43 | #define DEBUGFS_DEL(name) \ |
@@ -130,7 +130,7 @@ static const struct file_operations stats_ ##name## _ops = { \ | |||
130 | }; | 130 | }; |
131 | 131 | ||
132 | #define DEBUGFS_STATS_ADD(name) \ | 132 | #define DEBUGFS_STATS_ADD(name) \ |
133 | local->debugfs.stats.name = debugfs_create_file(#name, 0444, statsd,\ | 133 | local->debugfs.stats.name = debugfs_create_file(#name, 0400, statsd,\ |
134 | local, &stats_ ##name## _ops); | 134 | local, &stats_ ##name## _ops); |
135 | 135 | ||
136 | #define DEBUGFS_STATS_DEL(name) \ | 136 | #define DEBUGFS_STATS_DEL(name) \ |