mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
According to go/treble-sysprop-compatibility, vendor relative property should have prefix "vendor". This patch changes the property name to follow the naming rule. Bug: 110327460 Test: WLAN driver and FW version are saved to a new property. Change-Id: I8d9d70399c3af67b38d82b9c38cf0281a4ad1c35 Merged-In: I8d9d70399c3af67b38d82b9c38cf0281a4ad1c35
7 lines
253 B
Bash
7 lines
253 B
Bash
#! /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"
|