From f283c97d99ddd79f9558a43fc4e141c24b7bad0e Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Thu, 26 Oct 2017 12:30:49 -0700 Subject: [PATCH] qcacld-3.0: Rename hdd_ap_ctx HostapdState field Per the Linux coding style "mixed-case names are frowned upon" so rename field HostapdState in struct hdd_ap_ctx. Change-Id: I25a7ec870f250a0062619c0025c0aa9e137a576e CRs-Fixed: 2134916 --- core/hdd/inc/wlan_hdd_main.h | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_main.h b/core/hdd/inc/wlan_hdd_main.h index 4a9dd7fb6540..f026f25c8652 100644 --- a/core/hdd/inc/wlan_hdd_main.h +++ b/core/hdd/inc/wlan_hdd_main.h @@ -806,16 +806,12 @@ struct hdd_station_info { uint8_t tx_mcs_map; }; +/** + * struct hdd_ap_ctx - SAP/P2PGO specific information + * @hostapd_state: state control information + */ struct hdd_ap_ctx { - struct hdd_hostapd_state HostapdState; - - /* Memory differentiation mode is enabled */ - /* uint16_t uMemoryDiffThreshold; */ - /* uint8_t uNumActiveAC; */ - /* uint8_t uActiveACMask; */ - - /** Packet Count to update uNumActiveAC and uActiveACMask */ - /* uint16_t uUpdatePktCount; */ + struct hdd_hostapd_state hostapd_state; /** Station ID assigned after BSS starts */ uint8_t uBCStaId; @@ -1224,7 +1220,7 @@ struct hdd_adapter { #define WLAN_HDD_GET_CTX(adapter) ((adapter)->hdd_ctx) #define WLAN_HDD_GET_HAL_CTX(adapter) ((adapter)->hdd_ctx->hHal) #define WLAN_HDD_GET_HOSTAP_STATE_PTR(adapter) \ - (&(adapter)->sessionCtx.ap.HostapdState) + (&(adapter)->sessionCtx.ap.hostapd_state) #define WLAN_HDD_GET_SAP_CTX_PTR(adapter) ((adapter)->sessionCtx.ap.sapContext) #ifdef WLAN_FEATURE_NAN_DATAPATH