aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/debugfs_netdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/debugfs_netdev.c')
-rw-r--r--net/mac80211/debugfs_netdev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/mac80211/debugfs_netdev.c b/net/mac80211/debugfs_netdev.c
index 3e19d42e61cb..55cd6fc3f2e0 100644
--- a/net/mac80211/debugfs_netdev.c
+++ b/net/mac80211/debugfs_netdev.c
@@ -243,7 +243,7 @@ IEEE80211_IF_WFILE(min_discovery_timeout,
243 243
244 244
245#define DEBUGFS_ADD(name, type)\ 245#define DEBUGFS_ADD(name, type)\
246 sdata->debugfs.type.name = debugfs_create_file(#name, 0444,\ 246 sdata->debugfs.type.name = debugfs_create_file(#name, 0400,\
247 sdata->debugfsdir, sdata, &name##_ops); 247 sdata->debugfsdir, sdata, &name##_ops);
248 248
249static void add_sta_files(struct ieee80211_sub_if_data *sdata) 249static void add_sta_files(struct ieee80211_sub_if_data *sdata)
@@ -298,7 +298,7 @@ static void add_monitor_files(struct ieee80211_sub_if_data *sdata)
298 298
299#ifdef CONFIG_MAC80211_MESH 299#ifdef CONFIG_MAC80211_MESH
300#define MESHSTATS_ADD(name)\ 300#define MESHSTATS_ADD(name)\
301 sdata->mesh_stats.name = debugfs_create_file(#name, 0444,\ 301 sdata->mesh_stats.name = debugfs_create_file(#name, 0400,\
302 sdata->mesh_stats_dir, sdata, &name##_ops); 302 sdata->mesh_stats_dir, sdata, &name##_ops);
303 303
304static void add_mesh_stats(struct ieee80211_sub_if_data *sdata) 304static void add_mesh_stats(struct ieee80211_sub_if_data *sdata)
@@ -312,7 +312,7 @@ static void add_mesh_stats(struct ieee80211_sub_if_data *sdata)
312} 312}
313 313
314#define MESHPARAMS_ADD(name)\ 314#define MESHPARAMS_ADD(name)\
315 sdata->mesh_config.name = debugfs_create_file(#name, 0644,\ 315 sdata->mesh_config.name = debugfs_create_file(#name, 0600,\
316 sdata->mesh_config_dir, sdata, &name##_ops); 316 sdata->mesh_config_dir, sdata, &name##_ops);
317 317
318static void add_mesh_config(struct ieee80211_sub_if_data *sdata) 318static void add_mesh_config(struct ieee80211_sub_if_data *sdata)