mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
wifi - Remove init.qcom.wlan.sh and relative setting
ag/6722341 will set WLAN driver/FW when start legacy HAL.
The patch removes init.qcom.wlan.sh because it is not necessary
Bug: 127715974
Test: Property with wlan driver/FW version at enforcing mode:
It can be verified by the below command:
# adb shell getprop vendor.wlan.driver.version
# adb shell getprop vendor.wlan.firmware.version
Change-Id: Id94874cb96bc489a0f3eccfb97d780001b712330
This commit is contained in:
@@ -93,7 +93,6 @@ PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/uinput-fpc.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/uinput-fpc.idc \
|
||||
$(LOCAL_PATH)/init.qcom.devstart.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qcom.devstart.sh \
|
||||
$(LOCAL_PATH)/init.qcom.ipastart.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qcom.ipastart.sh \
|
||||
$(LOCAL_PATH)/init.qcom.wlan.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qcom.wlan.sh \
|
||||
$(LOCAL_PATH)/init.insmod.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.insmod.sh \
|
||||
$(LOCAL_PATH)/init.ramoops.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.ramoops.sh \
|
||||
frameworks/native/services/vr/virtual_touchpad/idc/vr-virtual-touchpad-0.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/vr-virtual-touchpad-0.idc \
|
||||
|
||||
@@ -815,13 +815,6 @@ service vendor.devstart_sh /vendor/bin/init.qcom.devstart.sh
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.wlan_sh /vendor/bin/init.qcom.wlan.sh
|
||||
class main
|
||||
user root
|
||||
group root
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.ipastart_sh /vendor/bin/init.qcom.ipastart.sh
|
||||
class main
|
||||
user system
|
||||
@@ -851,10 +844,6 @@ on property:sys.vdso=64
|
||||
on property:sys.vdso=32
|
||||
write /sys/module/vdso/parameters/enable_64 0
|
||||
|
||||
on property:wlan.driver.status=ok
|
||||
# Get the wlan driver/fw version
|
||||
start vendor.wlan_sh
|
||||
|
||||
# charger driver exposes now finer grain control, map demo mode to those properties
|
||||
# demo mode can only be exit wipping data which will also reset the persist properties
|
||||
on property:sys.retaildemo.enabled=1
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
#! /vendor/bin/sh
|
||||
|
||||
wlan_driver_version=`cat /sys/kernel/wifi/wlan/driver_version`
|
||||
setprop vendor.wlan.driver.version "$wlan_driver_version"
|
||||
wlan_fw_version=`cat /sys/kernel/wifi/wlan/fw/0/version`
|
||||
setprop vendor.wlan.firmware.version "$wlan_fw_version"
|
||||
Reference in New Issue
Block a user