Browse Source

qcacld-3.0: Change permission of power_stats debugfs

Currently the permission of the power_stats debugfs file is set to 0440.
This prevents the dumpstats to dump the stats.

Change the permission to 0444.

Change-Id: I725d1085bf0f186326eacf37d8d785b65cb699f4
CRs-Fixed: 2415906
Sourav Mohapatra 6 years ago
parent
commit
b6a0a459f3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/hdd/src/wlan_hdd_sysfs.c

+ 1 - 1
core/hdd/src/wlan_hdd_sysfs.c

@@ -433,7 +433,7 @@ static struct kobj_attribute dr_ver_attribute =
 static struct kobj_attribute fw_ver_attribute =
 	__ATTR(version, 0440, show_fw_version, NULL);
 static struct kobj_attribute power_stats_attribute =
-	__ATTR(power_stats, 0440, show_device_power_stats, NULL);
+	__ATTR(power_stats, 0444, show_device_power_stats, NULL);
 
 void hdd_sysfs_create_version_interface(struct wlan_objmgr_psoc *psoc)
 {