msm8937-common: 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 Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
This commit is contained in:
parent
4d45d61892
commit
c9d0f8fef4
1 changed files with 3 additions and 0 deletions
|
@ -134,6 +134,9 @@ on boot
|
||||||
chown root system /sys/class/leds/green/blink
|
chown root system /sys/class/leds/green/blink
|
||||||
chown root system /sys/class/leds/blue/blink
|
chown root system /sys/class/leds/blue/blink
|
||||||
|
|
||||||
|
# Wifi firmware reload path
|
||||||
|
chown wifi wifi /sys/module/wlan/parameters/fwpath
|
||||||
|
|
||||||
# msm specific files that need to be created on /data
|
# msm specific files that need to be created on /data
|
||||||
on post-fs-data
|
on post-fs-data
|
||||||
#Create directories for Fingerprint
|
#Create directories for Fingerprint
|
||||||
|
|
Loading…
Reference in a new issue