mirror of
https://github.com/team-infusion-developers/android_device_samsung_msm8976-common.git
synced 2024-11-07 06:19:20 +00:00
msm8976-common: init: Change ownership of wifi firmware reload sysfs paths
This will let the wifi hal run as "wifi" user and not need root permissions to access this path for firmware reloads. Bug: 33435250 Test: Compiles. Change-Id: I84a38cea5e0f729147c3191c3485a3738d7838ef
This commit is contained in:
parent
7e70804173
commit
054d9243de
1 changed files with 3 additions and 0 deletions
|
@ -1194,6 +1194,9 @@ on boot
|
|||
chown radio net_bt_stack /efs/bluetooth/bt_addr
|
||||
chmod 0640 /efs/bluetooth/bt_addr
|
||||
|
||||
# Wifi firmware reload path
|
||||
chown wifi wifi /sys/module/wlan/parameters/fwpath
|
||||
|
||||
# msm specific files that need to be created on /data
|
||||
on post-fs-data
|
||||
# Create directory for TZ Apps
|
||||
|
|
Loading…
Reference in a new issue