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:
parent
6819b5117a
commit
e6f6caa3fb
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue