ath9k: remove permissions from debugfs files
authorJiri Slaby <jirislaby@gmail.com>
Sun, 28 Jun 2009 21:25:28 +0000 (23:25 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:02:26 +0000 (15:02 -0400)
commit9d49e861a5e31fb7f575f348743886189045e102
tree2392541960aca9fbdd1c00e0694f0c5402036bb3
parent31670070ffe18f8e8743109b19297a0efac0a72c
ath9k: remove permissions from debugfs files

Don't allow users to open debugfs files, because it can cause oopses.

When a user opens some file, driver unlinks it and frees the
corresponding structure, we will dereference freed memory.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/debug.c