klte-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.

Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba23
This commit is contained in:
Roshan Pius 2017-10-11 18:38:02 +03:00 committed by Kevin F. Haggerty
parent cd9495cec7
commit d0396fd1a9
1 changed files with 3 additions and 0 deletions

View File

@ -848,6 +848,9 @@ on boot
chmod 0640 /efs/gyro_cal_data
restorecon /efs/gyro_cal_data
# Set permissions for firmware path control
chown wifi wifi /sys/module/dhd/parameters/firmware_path
# Services begin here
service adsprpcd /system/bin/adsprpcd