commit | 55e2045f6e2d79dc1e0558831e0753ec7aac1744 | [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 | 354c2c6c55e4b1880a4826ff8966f6feb6681c6b [diff] |
Merge "hostapd(vts): Add a property for SAP interface" into qt-dev am: 896c71a7d2 am: 354c2c6c55 Change-Id: I748c37355c90682b18369fffaedaff5eeaa0b568
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(); }