summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2019-07-29 11:15:25 -0700
committerRoshan Pius <rpius@google.com>2019-07-29 11:16:56 -0700
commit4335de4cac65acd3f8cffc88c91982d0cea999d1 (patch)
treed0eab778bfa294148d43c0f1ccd881f1a7bde03a /wifi
parentd005bbeb53ab7b170335acd038115499d25a5d3c (diff)
downloadandroid_hardware_interfaces-4335de4cac65acd3f8cffc88c91982d0cea999d1.tar.gz
android_hardware_interfaces-4335de4cac65acd3f8cffc88c91982d0cea999d1.tar.bz2
android_hardware_interfaces-4335de4cac65acd3f8cffc88c91982d0cea999d1.zip
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
Diffstat (limited to 'wifi')
-rw-r--r--wifi/hostapd/1.1/vts/functional/hostapd_hidl_test.cpp3
1 files changed, 2 insertions, 1 deletions
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 7aaad02ac..ffd4d97a5 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<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();