Procházet zdrojové kódy

qcacld-3.0: Remove Keys from struct hdd_connection_info

The Keys field in struct hdd_connection_info is unused, so remove it.

Change-Id: Ifff59377adddf47d7e5764b85702a1828af11a47
CRs-Fixed: 2409882
Jeff Johnson před 6 roky
rodič
revize
e20ce74215
2 změnil soubory, kde provedl 0 přidání a 3 odebrání
  1. 0 2
      core/hdd/inc/wlan_hdd_assoc.h
  2. 0 1
      core/hdd/src/wlan_hdd_assoc.c

+ 0 - 2
core/hdd/inc/wlan_hdd_assoc.h

@@ -146,7 +146,6 @@ struct hdd_conn_flag {
  * @auth_type: Auth Type
  * @uc_encrypt_type: Unicast Encryption Type
  * @mc_encrypt_type: Multicast Encryption Type
- * @Keys: Keys
  * @operationChannel: Operation Channel
  * @is_authenticated: Remembers authenticated state
  * @dot11Mode: dot11Mode
@@ -181,7 +180,6 @@ struct hdd_connection_info {
 	eCsrAuthType auth_type;
 	eCsrEncryptionType uc_encrypt_type;
 	eCsrEncryptionType mc_encrypt_type;
-	tCsrKeys Keys;
 	uint8_t operationChannel;
 	uint8_t is_authenticated;
 	uint32_t dot11Mode;

+ 0 - 1
core/hdd/src/wlan_hdd_assoc.c

@@ -1544,7 +1544,6 @@ static void hdd_conn_remove_connect_info(struct hdd_station_ctx *sta_ctx)
 	sta_ctx->conn_info.mc_encrypt_type = eCSR_ENCRYPT_TYPE_NONE;
 	sta_ctx->conn_info.uc_encrypt_type = eCSR_ENCRYPT_TYPE_NONE;
 
-	qdf_mem_zero(&sta_ctx->conn_info.Keys, sizeof(tCsrKeys));
 	qdf_mem_zero(&sta_ctx->ibss_enc_key, sizeof(tCsrRoamSetKey));
 
 	sta_ctx->conn_info.proxy_arp_service = 0;