wifi: Move driver initialization to an eariler time
sys.boot_completed may take more time to be set in the first boot after factory reset. It will cause wifi framework try to enable wifi before driver ready. Move the timing of driver initialization forward to all modules ready. Bug: 242681939 Bug: 240889310 Test: wifi enables after booting Change-Id: I97d742ffe9723d2fc09f370f3d98dfdc4413af61
This commit is contained in:
parent
7f6ad012b5
commit
a011c11f37
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ on post-fs-data
|
||||||
chmod 0660 /sys/class/st33spi/st33spi/st33spi_state
|
chmod 0660 /sys/class/st33spi/st33spi/st33spi_state
|
||||||
|
|
||||||
# Wifi
|
# Wifi
|
||||||
on property:sys.boot_completed=1
|
on property:vendor.all.modules.ready=1
|
||||||
write /sys/bus/platform/drivers/cnss2/qcom,cnss-qca6490/fs_ready 1
|
write /sys/bus/platform/drivers/cnss2/qcom,cnss-qca6490/fs_ready 1
|
||||||
# Create directories for wifihal services
|
# Create directories for wifihal services
|
||||||
mkdir /dev/socket/wifihal 0770 wifi wifi
|
mkdir /dev/socket/wifihal 0770 wifi wifi
|
||||||
|
|
Loading…
Reference in a new issue