From 4584516ba417ec2ded0d8f7b84868765c3e27e7e Mon Sep 17 00:00:00 2001 From: Jiachao Wu Date: Thu, 22 Mar 2018 13:43:09 +0800 Subject: [PATCH] qcacld-3.0: EID is wrong when set SAP hwmod Correct wrong EID in wlan_hdd_set_sap_hwmode. It should be WLAN_EID_SUPP_RATES. Change-Id: Ic80f8b6bd32cc681ca5ae86c4cedf8435239350c CRs-Fixed: 2204402 --- core/hdd/src/wlan_hdd_hostapd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c index 2611626569b7..91f40d2cb6fb 100644 --- a/core/hdd/src/wlan_hdd_hostapd.c +++ b/core/hdd/src/wlan_hdd_hostapd.c @@ -7128,7 +7128,7 @@ static void wlan_hdd_set_sap_hwmode(struct hdd_adapter *adapter) pConfig->SapHw_mode = eCSR_DOT11_MODE_11b; - pIe = wlan_get_ie_ptr_from_eid(WLAN_EID_HT_CAPABILITY, + pIe = wlan_get_ie_ptr_from_eid(WLAN_EID_SUPP_RATES, &pMgmt_frame->u.beacon.variable[0], pBeacon->head_len); if (pIe != NULL) {