radxa0: init: Do not change permissions of WiFi FW reload sysfs paths
authorBruno Martins <bgcngm@gmail.com>
Thu, 22 Feb 2024 16:40:44 +0000 (16:40 +0000)
committerBruno Martins <bgcngm@gmail.com>
Fri, 23 Feb 2024 15:57:10 +0000 (15:57 +0000)
This is a quite old leftover since the proper permissions are already
set in init.amlogic.wifi.rc script.

Change-Id: Ib4fca6008ac9ba70d105040bd29ecd762235d0ef

init-files/init.amlogic.wifi_buildin.rc

index 797982214ea0105672baecb6d1437ce184040f33..1ae5218524e2a534e746b23ee23fdde9530970c0 100644 (file)
@@ -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