summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/debugfs.c
diff options
context:
space:
mode:
authorGuy Eilam <guy@wizery.com>2011-01-12 10:33:29 +0100
committerLuciano Coelho <coelho@ti.com>2011-01-24 21:11:52 +0100
commit491bbd6bdddafb49d0d6a9258d53441aee4bb622 (patch)
treead3d13eb138ad8e3797d12b9f34a185db87d81db /drivers/net/wireless/wl12xx/debugfs.c
parentwl12xx: lock the RCU when accessing sta via ieee80211_find_sta() (diff)
downloadlinux-491bbd6bdddafb49d0d6a9258d53441aee4bb622.tar.xz
linux-491bbd6bdddafb49d0d6a9258d53441aee4bb622.zip
wl12xx: change debug_level module param sysfs permissions
changed the visibility of the debug_level module parameter in the filesystem to be readable and writable to the root user. It is now accessible under /sys/module/wl12xx/parameters removed the debug_level debugfs file that was created under /sys/kernel/debug/... Signed-off-by: Guy Eilam <guy@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/debugfs.c')
-rw-r--r--drivers/net/wireless/wl12xx/debugfs.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/wireless/wl12xx/debugfs.c b/drivers/net/wireless/wl12xx/debugfs.c
index 36e7ec1e0c3b..dc3ca0031817 100644
--- a/drivers/net/wireless/wl12xx/debugfs.c
+++ b/drivers/net/wireless/wl12xx/debugfs.c
@@ -402,11 +402,6 @@ static int wl1271_debugfs_add_files(struct wl1271 *wl,
DEBUGFS_ADD(gpio_power, rootdir);
- entry = debugfs_create_x32("debug_level", 0600, rootdir,
- &wl12xx_debug_level);
- if (!entry || IS_ERR(entry))
- goto err;
-
return 0;
err: