Browse Source

qcacld-3.0: Rename HDD identifier sapEvent

The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier sapEvent to be compliant.

Change-Id: Ic5bd0709f62f99da3f3078670a0bb7774b098c83
CRs-Fixed: 2415555
Jeff Johnson 6 years ago
parent
commit
fe31cf5af6
1 changed files with 4 additions and 4 deletions
  1. 4 4
      core/hdd/src/wlan_hdd_hostapd.c

+ 4 - 4
core/hdd/src/wlan_hdd_hostapd.c

@@ -1699,7 +1699,7 @@ QDF_STATUS hdd_hostapd_sap_event_cb(struct sap_event *sap_event,
 	struct hdd_ap_ctx *ap_ctx;
 	struct hdd_hostapd_state *hostapd_state;
 	struct net_device *dev;
-	eSapHddEvent sapEvent;
+	eSapHddEvent event_id;
 	union iwreq_data wrqu;
 	uint8_t *we_custom_event_generic = NULL;
 	int we_event = 0;
@@ -1753,7 +1753,7 @@ QDF_STATUS hdd_hostapd_sap_event_cb(struct sap_event *sap_event,
 		return QDF_STATUS_E_FAILURE;
 	}
 
-	sapEvent = sap_event->sapHddEventCode;
+	event_id = sap_event->sapHddEventCode;
 	memset(&wrqu, '\0', sizeof(wrqu));
 	hdd_ctx = WLAN_HDD_GET_CTX(adapter);
 
@@ -1775,7 +1775,7 @@ QDF_STATUS hdd_hostapd_sap_event_cb(struct sap_event *sap_event,
 	sta_id = sap_event->sapevt.sapStartBssCompleteEvent.staId;
 	sap_config = &adapter->session.ap.sap_config;
 
-	switch (sapEvent) {
+	switch (event_id) {
 	case eSAP_START_BSS_EVENT:
 		hdd_debug("BSS status = %s, channel = %u, bc sta Id = %d",
 		       sap_event->sapevt.sapStartBssCompleteEvent.
@@ -2672,7 +2672,7 @@ stopbss:
 		 * not be touched since they are now subject to being deleted
 		 * by another thread
 		 */
-		if (eSAP_STOP_BSS_EVENT == sapEvent) {
+		if (eSAP_STOP_BSS_EVENT == event_id) {
 			qdf_event_set(&hostapd_state->qdf_stop_bss_event);
 			hdd_bus_bw_compute_timer_try_stop(hdd_ctx);
 		}