Commit f085c105 authored by Christoph Fritz's avatar Christoph Fritz Committed by Kalle Valo

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: default avatarChristoph Fritz <chf.fritz@googlemail.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent a764284f
...@@ -1452,7 +1452,7 @@ int ath9k_init_debug(struct ath_hw *ah) ...@@ -1452,7 +1452,7 @@ int ath9k_init_debug(struct ath_hw *ah)
#endif #endif
#ifdef CONFIG_ATH9K_DYNACK #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); sc, &fops_ackto);
#endif #endif
debugfs_create_file("tpc", S_IRUSR | S_IWUSR, debugfs_create_file("tpc", S_IRUSR | S_IWUSR,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment