Explorar o código

qcacld-3.0: Rename uIsAuthenticated in struct hdd_connection_info

The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename field uIsAuthenticated in struct
hdd_connection_info to be compliant.

Change-Id: I9e7629e41ba42224be5dbe5c7a773d1574a189b2
CRs-Fixed: 2409877
Jeff Johnson %!s(int64=6) %!d(string=hai) anos
pai
achega
457c242c20

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

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

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

@@ -236,8 +236,8 @@ hdd_conn_set_authenticated(struct hdd_adapter *adapter, uint8_t auth_state)
 
 	/* save the new connection state */
 	hdd_debug("Authenticated state Changed from oldState:%d to State:%d",
-		   sta_ctx->conn_info.uIsAuthenticated, auth_state);
-	sta_ctx->conn_info.uIsAuthenticated = auth_state;
+		   sta_ctx->conn_info.is_authenticated, auth_state);
+	sta_ctx->conn_info.is_authenticated = auth_state;
 
 	auth_time = sta_ctx->conn_info.auth_time;
 	time_buffer_size = sizeof(sta_ctx->conn_info.auth_time);

+ 1 - 1
core/hdd/src/wlan_hdd_stats.c

@@ -564,7 +564,7 @@ bool hdd_get_interface_info(struct hdd_adapter *adapter,
 		}
 		if ((eConnectionState_Associated ==
 		     sta_ctx->conn_info.conn_state)
-		    && (false == sta_ctx->conn_info.uIsAuthenticated)) {
+		    && (false == sta_ctx->conn_info.is_authenticated)) {
 			staMac =
 				(uint8_t *) &(adapter->mac_addr.
 					      bytes[0]);

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

@@ -1020,7 +1020,7 @@ static netdev_tx_t __hdd_hard_start_xmit(struct sk_buff *skb,
 	if (((adapter->psb_changed & (1 << ac)) &&
 		likely(adapter->hdd_wmm_status.wmmAcStatus[ac].
 			wmmAcAccessAllowed)) ||
-		((sta_ctx->conn_info.uIsAuthenticated == false) &&
+		((sta_ctx->conn_info.is_authenticated == false) &&
 		 (QDF_NBUF_CB_PACKET_TYPE_EAPOL ==
 			QDF_NBUF_CB_GET_PACKET_TYPE(skb) ||
 		  QDF_NBUF_CB_PACKET_TYPE_WAPI ==
@@ -2098,7 +2098,7 @@ QDF_STATUS hdd_rx_packet_cbk(void *adapter_context,
 		/* hold configurable wakelock for unicast traffic */
 		if (!hdd_is_current_high_throughput(hdd_ctx) &&
 		    hdd_ctx->config->rx_wakelock_timeout &&
-		    sta_ctx->conn_info.uIsAuthenticated)
+		    sta_ctx->conn_info.is_authenticated)
 			wake_lock = hdd_is_rx_wake_lock_needed(skb);
 
 		if (wake_lock) {

+ 1 - 1
core/hdd/src/wlan_hdd_wext.c

@@ -8090,7 +8090,7 @@ static int __iw_set_var_ints_getnone(struct net_device *dev,
 		hdd_debug("WE_SET_TXRX_STATS stats cmd: %d mac_id: %d",
 			  req.stats, req.mac_id);
 		if (apps_args[0] == CDP_TXRX_STATS_28) {
-			if (sta_ctx->conn_info.uIsAuthenticated) {
+			if (sta_ctx->conn_info.is_authenticated) {
 				hdd_debug("ap mac addr: %pM",
 					  (void *)&sta_ctx->conn_info.bssId);
 				req.peer_addr =