From: Bruno Martins Date: Thu, 22 Feb 2024 16:40:44 +0000 (+0000) Subject: wade: init: Do not change permissions of WiFi FW reload sysfs paths X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2c4542e23bfcc483a8ef907d01c18ca24b1aa828;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_askey_wade.git wade: init: Do not change permissions of WiFi FW reload sysfs paths This is a quite old leftover since the proper pwermissions are already set in init.amlogic.wifi.rc script. Change-Id: Ib4fca6008ac9ba70d105040bd29ecd762235d0ef --- diff --git a/init-files/init.amlogic.wifi_buildin.rc b/init-files/init.amlogic.wifi_buildin.rc index 7979822..1ae5218 100644 --- a/init-files/init.amlogic.wifi_buildin.rc +++ b/init-files/init.amlogic.wifi_buildin.rc @@ -1,6 +1,2 @@ on boot insmod /vendor/lib/modules/dhd.ko firmware_path=/vendor/etc/wifi/buildin/ nvram_path=/vendor/etc/wifi/buildin/ - chown root wifi /sys/module/dhd/parameters/firmware_path - chown root wifi /sys/module/bcmdhd/parameters/firmware_path - chmod 664 /sys/module/bcmdhd/parameters/firmware_path - chmod 664 /sys/module/dhd/parameters/firmware_path