aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/dvm/rs.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2018-03-23 18:54:37 -0400
committerKalle Valo <kvalo@codeaurora.org>2018-03-27 04:01:13 -0400
commit2ef00c53049b6a8758d118188992da01d75f3628 (patch)
treef7eb61964d5504c7d5c8bc7f675fd1fe810eb7f9 /drivers/net/wireless/intel/iwlwifi/dvm/rs.c
parent255dd5b79d5474dad3ecebe99be7818684921abd (diff)
wireless: Use octal not symbolic permissions
Prefer the direct use of octal for permissions. Done with checkpatch -f --types=SYMBOLIC_PERMS --fix-inplace and some typing. Miscellanea: o Whitespace neatening around these conversions. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/dvm/rs.c')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/dvm/rs.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/dvm/rs.c b/drivers/net/wireless/intel/iwlwifi/dvm/rs.c
index ddcd8c2d66cd..98050d7be411 100644
--- a/drivers/net/wireless/intel/iwlwifi/dvm/rs.c
+++ b/drivers/net/wireless/intel/iwlwifi/dvm/rs.c
@@ -3276,17 +3276,17 @@ static void rs_add_debugfs(void *priv, void *priv_sta,
3276{ 3276{
3277 struct iwl_lq_sta *lq_sta = priv_sta; 3277 struct iwl_lq_sta *lq_sta = priv_sta;
3278 lq_sta->rs_sta_dbgfs_scale_table_file = 3278 lq_sta->rs_sta_dbgfs_scale_table_file =
3279 debugfs_create_file("rate_scale_table", S_IRUSR | S_IWUSR, dir, 3279 debugfs_create_file("rate_scale_table", 0600, dir,
3280 lq_sta, &rs_sta_dbgfs_scale_table_ops); 3280 lq_sta, &rs_sta_dbgfs_scale_table_ops);
3281 lq_sta->rs_sta_dbgfs_stats_table_file = 3281 lq_sta->rs_sta_dbgfs_stats_table_file =
3282 debugfs_create_file("rate_stats_table", S_IRUSR, dir, 3282 debugfs_create_file("rate_stats_table", 0400, dir,
3283 lq_sta, &rs_sta_dbgfs_stats_table_ops); 3283 lq_sta, &rs_sta_dbgfs_stats_table_ops);
3284 lq_sta->rs_sta_dbgfs_rate_scale_data_file = 3284 lq_sta->rs_sta_dbgfs_rate_scale_data_file =
3285 debugfs_create_file("rate_scale_data", S_IRUSR, dir, 3285 debugfs_create_file("rate_scale_data", 0400, dir,
3286 lq_sta, &rs_sta_dbgfs_rate_scale_data_ops); 3286 lq_sta, &rs_sta_dbgfs_rate_scale_data_ops);
3287 lq_sta->rs_sta_dbgfs_tx_agg_tid_en_file = 3287 lq_sta->rs_sta_dbgfs_tx_agg_tid_en_file =
3288 debugfs_create_u8("tx_agg_tid_enable", S_IRUSR | S_IWUSR, dir, 3288 debugfs_create_u8("tx_agg_tid_enable", 0600, dir,
3289 &lq_sta->tx_agg_tid_en); 3289 &lq_sta->tx_agg_tid_en);
3290 3290
3291} 3291}
3292 3292