hostapd(vts): Use the correct syntax for vendor prop am: 4335de4cac
am: 39502371dd
Change-Id: I90da206af3175c7efdbef3797b68c20cb979d2d9
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 7aaad02..ffd4d97 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 @@
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();