diff options
author | Roshan Pius <rpius@google.com> | 2020-05-13 17:42:47 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-05-13 17:42:47 +0000 |
commit | cc32d8bf517c0db3b1767fba812bbb204588fdae (patch) | |
tree | 07c8bfcb0b263d08e8537561f129f08673c97c62 | |
parent | 55bc8b85f070e2bace5d44175b4f06023ca3d5fa (diff) | |
parent | 3651030745651c2ac4f030b958be6692ee79761d (diff) | |
download | wpa_supplicant_8-cc32d8bf517c0db3b1767fba812bbb204588fdae.tar.gz |
Merge "hostapd: Add 11ax param only if 11ax feature is compiled" into rvc-dev
-rw-r--r-- | hostapd/hidl/1.2/hostapd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hostapd/hidl/1.2/hostapd.cpp b/hostapd/hidl/1.2/hostapd.cpp index 7aa057be..537353a7 100644 --- a/hostapd/hidl/1.2/hostapd.cpp +++ b/hostapd/hidl/1.2/hostapd.cpp @@ -375,6 +375,7 @@ std::string CreateHostapdConfig( } std::string he_params_as_string; +#ifdef CONFIG_IEEE80211AX if (iface_params.hwModeParams.enable80211AX) { he_params_as_string = StringPrintf( "ieee80211ax=1\n" @@ -389,6 +390,7 @@ std::string CreateHostapdConfig( } else { he_params_as_string = "ieee80211ax=0"; } +#endif /* CONFIG_IEEE80211AX */ return StringPrintf( "interface=%s\n" |