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:
Roshan Pius 2016-12-08 18:41:47 -08:00 committed by LuK1337
parent 7e70804173
commit 054d9243de
1 changed files with 3 additions and 0 deletions

View File

@ -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