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:
Roshan Pius 2016-12-08 18:41:47 -08:00 committed by Isaac Chen
parent 4d45d61892
commit c9d0f8fef4

View file

@ -134,6 +134,9 @@ on boot
chown root system /sys/class/leds/green/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
on post-fs-data
#Create directories for Fingerprint