From 4335de4cac65acd3f8cffc88c91982d0cea999d1 Mon Sep 17 00:00:00 2001 From: Roshan Pius Date: Mon, 29 Jul 2019 11:15:25 -0700 Subject: [PATCH] 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 --- wifi/hostapd/1.1/vts/functional/hostapd_hidl_test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wifi/hostapd/1.1/vts/functional/hostapd_hidl_test.cpp b/wifi/hostapd/1.1/vts/functional/hostapd_hidl_test.cpp index 7aaad02ac2..ffd4d97a56 100644 --- a/wifi/hostapd/1.1/vts/functional/hostapd_hidl_test.cpp +++ b/wifi/hostapd/1.1/vts/functional/hostapd_hidl_test.cpp @@ -56,7 +56,8 @@ class HostapdHidlTest : public ::testing::VtsHalHidlTargetTestBase { protected: std::string getPrimaryWlanIfaceName() { std::array 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();