Przeglądaj źródła

qcacld-3.0: Rename dot11Mode in struct hdd_connection_info

The Linux Coding Style frowns upon mixed-case names so rename field
dot11Mode in struct hdd_connection_info to be compliant.

Change-Id: I0da66d6291bfb926a59566badb26e22f1055eb50
CRs-Fixed: 2409883
Jeff Johnson 6 lat temu
rodzic
commit
c52bc8b3f5

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

@@ -148,7 +148,7 @@ struct hdd_conn_flag {
  * @mc_encrypt_type: Multicast Encryption Type
  * @operationChannel: Operation Channel
  * @is_authenticated: Remembers authenticated state
- * @dot11Mode: dot11Mode
+ * @dot11mode: dot11mode
  * @proxy_arp_service: proxy arp service
  * @ptk_installed: ptk installed state
  * @gtk_installed: gtk installed state
@@ -182,7 +182,7 @@ struct hdd_connection_info {
 	eCsrEncryptionType mc_encrypt_type;
 	uint8_t operationChannel;
 	uint8_t is_authenticated;
-	uint32_t dot11Mode;
+	uint32_t dot11mode;
 	uint8_t proxy_arp_service;
 	bool ptk_installed;
 	bool gtk_installed;

+ 2 - 2
core/hdd/src/wlan_hdd_assoc.c

@@ -1028,7 +1028,7 @@ hdd_conn_save_connect_info(struct hdd_adapter *adapter,
 				     sizeof(tSirMacSSid));
 
 			/* Save dot11mode in which STA associated to AP */
-			sta_ctx->conn_info.dot11Mode =
+			sta_ctx->conn_info.dot11mode =
 				roam_info->u.pConnectedProfile->dot11Mode;
 
 			sta_ctx->conn_info.proxy_arp_service =
@@ -1654,7 +1654,7 @@ static void hdd_print_bss_info(struct hdd_station_ctx *hdd_sta_ctx)
 	hdd_debug("channel: %d",
 		 hdd_sta_ctx->conn_info.freq);
 	hdd_debug("dot11mode: %d",
-		 hdd_sta_ctx->conn_info.dot11Mode);
+		 hdd_sta_ctx->conn_info.dot11mode);
 	hdd_debug("AKM: %d",
 		  hdd_sta_ctx->conn_info.last_auth_type);
 	hdd_debug("ssid: %.*s",

+ 2 - 2
core/hdd/src/wlan_hdd_debugfs_connect.c

@@ -366,7 +366,7 @@ wlan_hdd_connect_info_debugfs(struct hdd_adapter *adapter, uint8_t *buf,
 			    "signal = %ddBm\n"
 			    "bit_rate = %u\n"
 			    "last_auth_type = %s\n"
-			    "dot11Mode = %s\n",
+			    "dot11mode = %s\n",
 			    conn_info->last_ssid.SSID.ssId,
 			    MAC_ADDR_ARRAY(conn_info->bssid.bytes),
 			    conn_info->connect_time,
@@ -376,7 +376,7 @@ wlan_hdd_connect_info_debugfs(struct hdd_adapter *adapter, uint8_t *buf,
 			    conn_info->signal,
 			    bit_rate,
 			    hdd_auth_type_str(conn_info->last_auth_type),
-			    hdd_dot11_mode_str(conn_info->dot11Mode));
+			    hdd_dot11_mode_str(conn_info->dot11mode));
 
 	if (ret_val <= 0)
 		return length;

+ 2 - 2
core/hdd/src/wlan_hdd_station_info.c

@@ -533,7 +533,7 @@ static int hdd_get_station_info(struct hdd_context *hdd_ctx,
 		      sizeof(hdd_sta_ctx->cache_conn_info.txrate.nss) +
 		      sizeof(hdd_sta_ctx->cache_conn_info.roam_count) +
 		      sizeof(hdd_sta_ctx->cache_conn_info.last_auth_type) +
-		      sizeof(hdd_sta_ctx->cache_conn_info.dot11Mode);
+		      sizeof(hdd_sta_ctx->cache_conn_info.dot11mode);
 	if (hdd_sta_ctx->cache_conn_info.conn_flag.vht_present)
 		nl_buf_len += sizeof(hdd_sta_ctx->cache_conn_info.vht_caps);
 	if (hdd_sta_ctx->cache_conn_info.conn_flag.ht_present)
@@ -574,7 +574,7 @@ static int hdd_get_station_info(struct hdd_context *hdd_ctx,
 			hdd_sta_ctx->cache_conn_info.last_auth_type)) ||
 	    nla_put_u32(skb, WLAN802_11_MODE,
 			hdd_convert_dot11mode(
-			hdd_sta_ctx->cache_conn_info.dot11Mode))) {
+			hdd_sta_ctx->cache_conn_info.dot11mode))) {
 		hdd_err("put fail");
 		goto fail;
 	}