qcacld-3.0: Change WNI_CFG_COUNTRY_CODE_LEN to CFG_COUNTRY_CODE_LEN
All WNI configurations will be cleanup based on new cfg framework, so change Change WNI_CFG_COUNTRY_CODE_LEN to CFG_COUNTRY_CODE_LEN. Change-Id: I786b62e2c0aff08a89fc3c8a3359e2ffb4044269 CRs-Fixed: 2380488
This commit is contained in:
@@ -518,7 +518,7 @@ typedef struct sap_config {
|
||||
/* Max ie length 255 * 2(WPA+RSN) + 2 bytes(vendor specific ID) * 2 */
|
||||
uint8_t RSNWPAReqIE[(SIR_MAC_MAX_IE_LENGTH * 2) + 4];
|
||||
/* it is ignored if [0] is 0. */
|
||||
uint8_t countryCode[WNI_CFG_COUNTRY_CODE_LEN];
|
||||
uint8_t countryCode[CFG_COUNTRY_CODE_LEN];
|
||||
uint8_t RSNAuthType;
|
||||
uint8_t RSNEncryptType;
|
||||
uint8_t mcRSNEncryptType;
|
||||
|
@@ -2919,7 +2919,7 @@ sapconvert_to_csr_profile(tsap_config_t *pconfig_params, eCsrRoamBssType bssType
|
||||
/* country code */
|
||||
if (pconfig_params->countryCode[0])
|
||||
qdf_mem_copy(profile->countryCode, pconfig_params->countryCode,
|
||||
WNI_CFG_COUNTRY_CODE_LEN);
|
||||
CFG_COUNTRY_CODE_LEN);
|
||||
profile->ieee80211d = pconfig_params->ieee80211d;
|
||||
/* wps config info */
|
||||
profile->wps_state = pconfig_params->wps_state;
|
||||
|
Reference in New Issue
Block a user