Bläddra i källkod

qcacld-3.0: Rename hdd_adapter isLinkUpSvcNeeded field

Per the Linux coding style "mixed-case names are frowned upon" so
rename field isLinkUpSvcNeeded in struct hdd_adapter.

Change-Id: If2c6f33fb1a25fc3a88ba2f42309b5cb5bb11d65
CRs-Fixed: 2134940
Jeff Johnson 7 år sedan
förälder
incheckning
c72c573df8
3 ändrade filer med 6 tillägg och 6 borttagningar
  1. 1 1
      core/hdd/inc/wlan_hdd_main.h
  2. 2 2
      core/hdd/src/wlan_hdd_assoc.c
  3. 3 3
      core/hdd/src/wlan_hdd_main.c

+ 1 - 1
core/hdd/inc/wlan_hdd_main.h

@@ -1085,7 +1085,7 @@ struct hdd_adapter {
 	struct completion ibss_peer_info_comp;
 
 	/* Track whether the linkup handling is needed  */
-	bool isLinkUpSvcNeeded;
+	bool is_link_up_service_needed;
 
 	/* Mgmt Frames TX completion status code */
 	uint32_t mgmtTxCompletionStatus;

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

@@ -2680,7 +2680,7 @@ hdd_association_completion_handler(struct hdd_adapter *adapter,
 			 * Enable Linkup Event Servicing which allows the net
 			 * device notifier to set the linkup event variable.
 			 */
-			adapter->isLinkUpSvcNeeded = true;
+			adapter->is_link_up_service_needed = true;
 
 			/* Switch on the Carrier to activate the device */
 			wlan_hdd_netif_queue_control(adapter,
@@ -2702,7 +2702,7 @@ hdd_association_completion_handler(struct hdd_adapter *adapter,
 			 * Disable Linkup Event Servicing - no more service
 			 * required from the net device notifier call.
 			 */
-			adapter->isLinkUpSvcNeeded = false;
+			adapter->is_link_up_service_needed = false;
 		} else {
 			sta_ctx->ft_carrier_on = false;
 			ft_carrier_on = true;

+ 3 - 3
core/hdd/src/wlan_hdd_main.c

@@ -539,7 +539,7 @@ static int __hdd_netdev_notifier_call(struct notifier_block *nb,
 		break;
 
 	case NETDEV_CHANGE:
-		if (true == adapter->isLinkUpSvcNeeded)
+		if (adapter->is_link_up_service_needed)
 			complete(&adapter->linkup_event_var);
 		break;
 
@@ -3167,7 +3167,7 @@ static struct hdd_adapter *hdd_alloc_station_adapter(struct hdd_context *hdd_ctx
 		init_completion(&adapter->lfr_fw_status.disable_lfr_event);
 
 		adapter->offloads_configured = false;
-		adapter->isLinkUpSvcNeeded = false;
+		adapter->is_link_up_service_needed = false;
 		adapter->higherDtimTransition = true;
 		/* Init the net_device structure */
 		strlcpy(pWlanDev->name, name, IFNAMSIZ);
@@ -5183,7 +5183,7 @@ QDF_STATUS hdd_start_all_adapters(struct hdd_context *hdd_ctx)
 
 			hdd_init_station_mode(adapter);
 			/* Open the gates for HDD to receive Wext commands */
-			adapter->isLinkUpSvcNeeded = false;
+			adapter->is_link_up_service_needed = false;
 
 			/* Indicate disconnect event to supplicant
 			 * if associated previously