diff options
author | Roshan Pius <rpius@google.com> | 2019-07-29 11:15:25 -0700 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2019-07-29 11:16:56 -0700 |
commit | 4335de4cac65acd3f8cffc88c91982d0cea999d1 (patch) | |
tree | d0eab778bfa294148d43c0f1ccd881f1a7bde03a /wifi | |
parent | d005bbeb53ab7b170335acd038115499d25a5d3c (diff) | |
download | android_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.cpp | 3 |
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(); |