sabrina: 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>
Sat, 24 Feb 2024 17:27:01 +0000 (17:27 +0000)
This is a quite old leftover since the proper pwermissions are already
set in init.amlogic.wifi.rc script.

Change-Id: Ib4fca6008ac9ba70d105040bd29ecd762235d0ef

init-files/init.amlogic.wifi_buildin.rc

index ee31023959995f06e78dda59d9aecc891b2948cb..bfdef2ece8d17cee330911cd5758334310aa381a 100644 (file)
@@ -2,7 +2,3 @@ import /vendor/etc/init/hw/init.amlogic.sku.rc
 
 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