summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath
diff options
context:
space:
mode:
authorChristoph Fritz <chf.fritz@googlemail.com>2017-07-28 15:15:46 +0300
committerKalle Valo <kvalo@qca.qualcomm.com>2017-08-03 14:38:36 +0300
commitf085c105479f05bf47cd8f1f9786be2a73de29cb (patch)
tree84caba838afee3e2dfba69d0a1923e24931be24f /drivers/net/wireless/ath
parenta764284f34f9b0b07f34907947d38d6632f61a1b (diff)
downloadop-kernel-dev-f085c105479f05bf47cd8f1f9786be2a73de29cb.zip
op-kernel-dev-f085c105479f05bf47cd8f1f9786be2a73de29cb.tar.gz
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>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r--drivers/net/wireless/ath/ath9k/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/debug.c b/drivers/net/wireless/ath/ath9k/debug.c
index 2e64977..01fa301 100644
--- a/drivers/net/wireless/ath/ath9k/debug.c
+++ b/drivers/net/wireless/ath/ath9k/debug.c
@@ -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,
OpenPOWER on IntegriCloud