diff options
| author | Ahmed ElArabawy <arabawy@google.com> | 2018-06-04 13:36:31 -0700 |
|---|---|---|
| committer | Ahmed ElArabawy <arabawy@google.com> | 2018-06-04 13:36:31 -0700 |
| commit | 9e08e30b6eaf6fae8ccdf775a48a82ca0ef94903 (patch) | |
| tree | d0123b348062af98db5cdaf413d64ee961038b9d /init.hardware.rc | |
| parent | c04f9c9a574cd0e1d6aea4c1763ce69cb7b2ce99 (diff) | |
Wifi: Remove early setting of wlan.driver.status
In current implementation, the wlan.driver.status property is
set to OK inside the init script once driver is loaded.
This is too early, and driver may not be ready yet by that time.
This resulted in breaking the feature to set driver and FW version
properties.
This commit removes this early setting, and relies on the HAL to
set it when driver is ready.
Bug: 76220544
Test: Boot the device and make sure the version properties are set
Test: adb shell getprop sys.wlan.driver.version
Test: adb shell getprop sys.wlan.firmware.version
Change-Id: I4a1921f13c9b8077c78320fca593f53352cb922c
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
Diffstat (limited to 'init.hardware.rc')
| -rw-r--r-- | init.hardware.rc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/init.hardware.rc b/init.hardware.rc index f6eb0ab..26ba893 100644 --- a/init.hardware.rc +++ b/init.hardware.rc @@ -280,9 +280,6 @@ on post-fs # turn off vblank irq immediately after turning off write /sys/module/drm/parameters/vblankoffdelay -1 -on property:vendor.all.modules.ready=1 - setprop wlan.driver.status "ok" - on post-fs-data # We can start netd here before in is launched in common init.rc on zygote-start start netd |
