hostapd(vts): Use the correct syntax for vendor prop
am: 4335de4cac
Change-Id: I1e89831588dd3eec16e6e04cf2ac9446cac2ce65
This commit is contained in:
commit
39502371dd
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue