qcacld-3.0: Enable WMM if HT capabilities are present in beacon
qcacld-2.0 to qcacld-3.0 propagation.
WMM should be enabled if HT caps are present even if WMM ie is
not present in beacons/probe response frames. In few places it
is not taken care. This commit will address the issue.
CRs-fixed: 873761
Change-Id: I985b7721fc28c9b7d087123c6cff9d76f93696d5
diff --git a/core/mac/src/pe/lim/lim_prop_exts_utils.c b/core/mac/src/pe/lim/lim_prop_exts_utils.c
index c45da30..f05f00c 100644
--- a/core/mac/src/pe/lim/lim_prop_exts_utils.c
+++ b/core/mac/src/pe/lim/lim_prop_exts_utils.c
@@ -103,7 +103,8 @@
if (sir_parse_beacon_ie(mac_ctx, beacon_struct, p_ie,
(uint32_t) ie_len) == eSIR_SUCCESS) {
if (beacon_struct->wmeInfoPresent
- || beacon_struct->wmeEdcaPresent)
+ || beacon_struct->wmeEdcaPresent
+ || beacon_struct->HTCaps.present)
LIM_BSS_CAPS_SET(WME, *qos_cap);
if (LIM_BSS_CAPS_GET(WME, *qos_cap)
&& beacon_struct->wsmCapablePresent)