Skip to content

Commit

Permalink
mt76: mt76x02: fix edcca file permission
Browse files Browse the repository at this point in the history
Use 0600 as edcca file permission in mt76x02 debugfs

Fixes: 643749d ("mt76: mt76x02: disable ED/CCA by default")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
Lorenzo Bianconi authored and Felix Fietkau committed Jun 25, 2019
1 parent 984d885 commit 4a8c99c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ void mt76x02_init_debugfs(struct mt76x02_dev *dev)
debugfs_create_u8("temperature", 0400, dir, &dev->cal.temp);
debugfs_create_bool("tpc", 0600, dir, &dev->enable_tpc);

debugfs_create_file("edcca", 0400, dir, dev, &fops_edcca);
debugfs_create_file("edcca", 0600, dir, dev, &fops_edcca);
debugfs_create_file("ampdu_stat", 0400, dir, dev, &fops_ampdu_stat);
debugfs_create_file("dfs_stats", 0400, dir, dev, &fops_dfs_stat);
debugfs_create_devm_seqfile(dev->mt76.dev, "txpower", dir,
Expand Down

0 comments on commit 4a8c99c

Please sign in to comment.