commit | aaaf428e68fb0f5f8ef7b7654be7db82d8752cb4 | [log] [tgz] |
---|---|---|
author | Roshan Pius <rpius@google.com> | Thu Jul 18 18:29:58 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Thu Jul 18 18:29:58 2019 -0700 |
tree | 2990e9e98c66b486f596d51d0622685f034f8965 | |
parent | 264afa4a2c9690a56ebaa1226fad22c6aaea8d6f [diff] | |
parent | 3e01cbd710d72006f19bb956bd686174f767a241 [diff] |
Merge "hostapd(vts): Add a property for SAP interface" into qt-dev am: 896c71a7d2 am: 3e01cbd710 Change-Id: If9310911a09d7a46aea6456e334e7c9a9c306581
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 26a58b2..7aaad02 100644 --- a/wifi/hostapd/1.1/vts/functional/hostapd_hidl_test.cpp +++ b/wifi/hostapd/1.1/vts/functional/hostapd_hidl_test.cpp
@@ -56,6 +56,8 @@ protected: std::string getPrimaryWlanIfaceName() { std::array<char, PROPERTY_VALUE_MAX> buffer; + auto res = property_get("wifi.sap.interface", buffer.data(), nullptr); + if (res > 0) return buffer.data(); property_get("wifi.interface", buffer.data(), "wlan0"); return buffer.data(); }