diff options
author | Benjamin Schwartz <bsschwar@google.com> | 2020-11-12 09:28:03 -0800 |
---|---|---|
committer | Benjamin Schwartz <bsschwar@google.com> | 2020-11-12 09:28:03 -0800 |
commit | cb1dc0fa90eb12ff8694cebb91098fb3d51e81c7 (patch) | |
tree | 03879fdee8c9e18788b1dcdcbd73abb76047f6b6 | |
parent | c20ac55c6e29db9c6e480aaeabd866862d9576ac (diff) | |
download | bcm43752-cb1dc0fa90eb12ff8694cebb91098fb3d51e81c7.tar.gz |
Make power_stats sysfs node readable all users
Bug: 153787390
Test: ls -al /sys/wifi/power_stats
Signed-off-by: Benjamin Schwartz <bsschwar@google.com>
Change-Id: I681e0d45206887d8aa2878116532e334e2e66de1
-rwxr-xr-x | dhd_linux_exportfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhd_linux_exportfs.c b/dhd_linux_exportfs.c index 8c0e0ee..54bcfca 100755 --- a/dhd_linux_exportfs.c +++ b/dhd_linux_exportfs.c @@ -637,7 +637,7 @@ static struct dhd_attr dhd_attr_nvram_path = #ifdef PWRSTATS_SYSFS static struct dhd_attr dhd_attr_pwrstats_path = - __ATTR(power_stats, 0660, show_pwrstats_path, NULL); + __ATTR(power_stats, 0664, show_pwrstats_path, NULL); #endif #define to_dhd(k) container_of(k, struct dhd_info, dhd_kobj) |