From c9d0f8fef4f335566d72880311125a9ee49d75c8 Mon Sep 17 00:00:00 2001 From: Roshan Pius Date: Thu, 8 Dec 2016 18:41:47 -0800 Subject: [PATCH] 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 --- rootdir/init.qcom.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index 53fd79d..4d747bf 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -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