From fe31cf5af655407cd4a7884ff5f357dc88cabe81 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sat, 9 Mar 2019 19:46:01 -0800 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_hostapd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c index 4c8d2e9a734cb..5c79427417677 100644 --- a/core/hdd/src/wlan_hdd_hostapd.c +++ b/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); }