Wifi: Write sysfs fs_ready 1 in init rc

When boot complete, write fs_ready 1 to notify cnss2.
Note fs_ready must not be written too early, otherwise
it will not download firmware successfully.

Bug: 202809487
Test: Build pass
Change-Id: I990257d168550e512ae94287ca79095201b16e2b
This commit is contained in:
Hsiu-Chang Chen 2021-12-05 23:48:11 +08:00
parent cd6d53fe66
commit deb8aa2b2e

View File

@ -37,3 +37,7 @@ on property:vendor.mfgapi.touchpanel.permission=1
on post-fs-data
chown system system /dev/goodix_fp
exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/g7.app
# Wifi
on property:sys.boot_completed=1
write /sys/bus/platform/drivers/cnss2/qcom,cnss-qca6490/fs_ready 1