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
This commit is contained in:
Jiachao Wu 2018-03-22 13:43:09 +08:00 • committed by nshrivas
commit 4584516ba4

View file

@ -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) {