sdm660-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 Max Weffers
parent 6819b5117a
commit e6f6caa3fb
No known key found for this signature in database
GPG key ID: 795F73D22FB93FAE

View file

@ -113,6 +113,8 @@ on boot
#Load WLAN driver #Load WLAN driver
insmod /vendor/lib/modules/qca_cld3/qca_cld3_wlan.ko insmod /vendor/lib/modules/qca_cld3/qca_cld3_wlan.ko
setprop wlan.driver.status "ok"
chown wifi wifi /sys/module/wlan/parameters/fwpath
#USB controller configuration #USB controller configuration
setprop vendor.usb.rndis.func.name "rndis_bam" setprop vendor.usb.rndis.func.name "rndis_bam"