mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 05:04:09 +08:00
ath9k: fix debugfs file permission
This patch fixes a trivial debugfs file permission issue. Debugfs file ack_to has no write function, so S_IWUSR gets purged. Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
parent
a764284f34
commit
f085c10547
@ -1452,7 +1452,7 @@ int ath9k_init_debug(struct ath_hw *ah)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ATH9K_DYNACK
|
||||
debugfs_create_file("ack_to", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy,
|
||||
debugfs_create_file("ack_to", S_IRUSR, sc->debug.debugfs_phy,
|
||||
sc, &fops_ackto);
|
||||
#endif
|
||||
debugfs_create_file("tpc", S_IRUSR | S_IWUSR,
|
||||
|
Loading…
Reference in New Issue
Block a user