Files
device_google_wahoo/init.qcom.wlan.sh
chenpaul 4eb18c9485 Modified property name to follow the naming rule
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
2018-12-17 07:48:30 +00:00

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"