qcacld-3.0: Rename authType in struct hdd_connection_info
The Linux Coding Style frowns upon mixed-case names so rename field
authType in struct hdd_connection_info to be compliant.
Change-Id: I6b17fd1b068a817ad4ef2eed99164a4c4620b50b
CRs-Fixed: 2409881
diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c
index b025f58..4d457e4 100644
--- a/core/hdd/src/wlan_hdd_assoc.c
+++ b/core/hdd/src/wlan_hdd_assoc.c
@@ -1011,10 +1011,10 @@
roam_info->u.pConnectedProfile->EncryptionType;
sta_ctx->conn_info.uc_encrypt_type = encryptType;
- sta_ctx->conn_info.authType =
+ sta_ctx->conn_info.auth_type =
roam_info->u.pConnectedProfile->AuthType;
sta_ctx->conn_info.last_auth_type =
- sta_ctx->conn_info.authType;
+ sta_ctx->conn_info.auth_type;
sta_ctx->conn_info.operationChannel =
roam_info->u.pConnectedProfile->operationChannel;
@@ -1540,7 +1540,7 @@
QDF_MAC_ADDR_SIZE);
/* Clear all security settings */
- sta_ctx->conn_info.authType = eCSR_AUTH_TYPE_OPEN_SYSTEM;
+ sta_ctx->conn_info.auth_type = eCSR_AUTH_TYPE_OPEN_SYSTEM;
sta_ctx->conn_info.mc_encrypt_type = eCSR_ENCRYPT_TYPE_NONE;
sta_ctx->conn_info.uc_encrypt_type = eCSR_ENCRYPT_TYPE_NONE;
@@ -4558,7 +4558,7 @@
hdd_is_8021x_sha256_auth_type(struct hdd_station_ctx *sta_ctx)
{
return eCSR_AUTH_TYPE_RSN_8021X_SHA256 ==
- sta_ctx->conn_info.authType;
+ sta_ctx->conn_info.auth_type;
}
#else
static inline bool
@@ -4839,7 +4839,7 @@
break;
case eCSR_ROAM_PMK_NOTIFY:
- if (eCSR_AUTH_TYPE_RSN == sta_ctx->conn_info.authType
+ if (eCSR_AUTH_TYPE_RSN == sta_ctx->conn_info.auth_type
|| hdd_is_8021x_sha256_auth_type(sta_ctx)) {
/* notify the supplicant of a new candidate */
qdf_ret_status =
@@ -4908,9 +4908,9 @@
case eCSR_ROAM_CCKM_PREAUTH_NOTIFY:
{
if (eCSR_AUTH_TYPE_CCKM_WPA ==
- sta_ctx->conn_info.authType
+ sta_ctx->conn_info.auth_type
|| eCSR_AUTH_TYPE_CCKM_RSN ==
- sta_ctx->conn_info.authType) {
+ sta_ctx->conn_info.auth_type) {
hdd_indicate_cckm_pre_auth(adapter, roam_info);
}
break;
@@ -5551,11 +5551,11 @@
roam_profile = hdd_roam_profile(adapter);
roam_profile->AuthType.numEntries = 1;
- hdd_debug("authType = %d RSNAuthType %d wpa_versions %d",
- sta_ctx->conn_info.authType, RSNAuthType,
+ hdd_debug("auth_type = %d RSNAuthType %d wpa_versions %d",
+ sta_ctx->conn_info.auth_type, RSNAuthType,
sta_ctx->wpa_versions);
- switch (sta_ctx->conn_info.authType) {
+ switch (sta_ctx->conn_info.auth_type) {
case eCSR_AUTH_TYPE_OPEN_SYSTEM:
case eCSR_AUTH_TYPE_AUTOSWITCH:
#ifdef FEATURE_WLAN_ESE