ath5k: remove permissions from debugfs files
authorJiri Slaby <jirislaby@gmail.com>
Sun, 28 Jun 2009 21:25:27 +0000 (23:25 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:02:26 +0000 (15:02 -0400)
commit31670070ffe18f8e8743109b19297a0efac0a72c
treeaefe670217fec01a291a1670cae8c3e2bcae808d
parent6badaaf7729e5d1c02934b1739303ce79014ab67
ath5k: 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/ath5k/debug.c