From e0bb51614be443591508bed6c537dcd57a58198d Mon Sep 17 00:00:00 2001 From: Adithya R Date: Wed, 14 Apr 2021 16:46:19 +0530 Subject: [PATCH] ginkgo: rootdir: Set hwversion for cnss-daemon * cnss-daemon reads the value of vendor.boot.hwversion and loads the correct bdwlan fw (bdf_c3x.bin/bdf_c3j.bin) depending on the device detected Change-Id: Id15802f187a11074765611a81d50eb530990b1fa Signed-off-by: Adithya R --- rootdir/etc/init.device.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootdir/etc/init.device.rc b/rootdir/etc/init.device.rc index 576600e..8b88886 100644 --- a/rootdir/etc/init.device.rc +++ b/rootdir/etc/init.device.rc @@ -29,6 +29,9 @@ import /vendor/etc/init/hw/init.fingerprint.rc +on property:ro.boot.hwversion=* + setprop vendor.boot.hwversion ${ro.boot.hwversion} + service vendor.nfc_hal_service /vendor/bin/hw/android.hardware.nfc@1.2-service class hal user nfc