Ver código fonte

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
Jiachao Wu 7 anos atrás
pai
commit
4584516ba4
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      core/hdd/src/wlan_hdd_hostapd.c

+ 1 - 1
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) {