mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 05:56:34 +00:00
hostapd(vts): Use the correct syntax for vendor prop
Change the prop to add "ro.vendor." prefix for the new vendor prop. Bug: 136645414 Change-Id: I5edfdc98991068eac279975397b6a29313bf31da
This commit is contained in:
@@ -56,7 +56,8 @@ class HostapdHidlTest : public ::testing::VtsHalHidlTargetTestBase {
|
||||
protected:
|
||||
std::string getPrimaryWlanIfaceName() {
|
||||
std::array<char, PROPERTY_VALUE_MAX> buffer;
|
||||
auto res = property_get("wifi.sap.interface", buffer.data(), nullptr);
|
||||
auto res = property_get("ro.vendor.wifi.sap.interface",
|
||||
buffer.data(), nullptr);
|
||||
if (res > 0) return buffer.data();
|
||||
property_get("wifi.interface", buffer.data(), "wlan0");
|
||||
return buffer.data();
|
||||
|
||||
Reference in New Issue
Block a user