commit | 77060b18e613f4cc7e5350f57b58d0d3879fb4ac | [log] [tgz] |
---|---|---|
author | Roshan Pius <rpius@google.com> | Thu Jul 18 18:40:03 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Thu Jul 18 18:40:03 2019 -0700 |
tree | 5722040e4ab9c5273aa1bbbecfdc64833807920c | |
parent | f68f29b45511798021b46fe765dbce0339c4fd5f [diff] | |
parent | aaaf428e68fb0f5f8ef7b7654be7db82d8752cb4 [diff] |
Merge "hostapd(vts): Add a property for SAP interface" into qt-dev am: 896c71a7d2 am: 3e01cbd710 am: aaaf428e68 Change-Id: I8ef36c6633ed38f7bc09992e65ebf25fd81fd654
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(); }