Parcourir la source

qcacld-3.0: Provide read permission for tsf sysfs entry

Provide read permission to group and other for tsf sysfs entry.
This allows applications to read tsf value.

Change-Id: I59ab2228334cc3975830edd675e0b09be182bf9d
CRs-Fixed: 3209335
Nirav Shah il y a 2 ans
Parent
commit
4852ecd8ba
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      core/hdd/src/wlan_hdd_tsf.c

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

@@ -1461,7 +1461,7 @@ static ssize_t hdd_wlan_tsf_show(struct device *dev,
 	return err_size;
 }
 
-static DEVICE_ATTR(tsf, 0400, hdd_wlan_tsf_show, NULL);
+static DEVICE_ATTR(tsf, 0444, hdd_wlan_tsf_show, NULL);
 
 static enum hdd_tsf_op_result hdd_tsf_sync_init(struct hdd_adapter *adapter)
 {