qcacld-3.0: Replace EndPoint with endpoint
This change also changes EndPointStats to endpoint_stats.
Change-Id: I88509901b0d15a59f35633dccbe7ca0b5f7b3b76
CRs-Fixed: 935297
diff --git a/core/htc/htc_internal.h b/core/htc/htc_internal.h
index b7a526e..db2fc48 100644
--- a/core/htc/htc_internal.h
+++ b/core/htc/htc_internal.h
@@ -123,15 +123,15 @@
int TxCreditSize; /* size in bytes of each credit (set by HTC) */
int TxCreditsPerMaxMsg; /* credits required per max message (precalculated) */
#ifdef HTC_EP_STAT_PROFILING
- HTC_ENDPOINT_STATS EndPointStats; /* endpoint statistics */
+ HTC_ENDPOINT_STATS endpoint_stats; /* endpoint statistics */
#endif
A_BOOL TxCreditFlowEnabled;
} HTC_ENDPOINT;
#ifdef HTC_EP_STAT_PROFILING
-#define INC_HTC_EP_STAT(p,stat,count) (p)->EndPointStats.stat += (count);
+#define INC_HTC_EP_STAT(p, stat, count) ((p)->endpoint_stats.stat += (count))
#else
-#define INC_HTC_EP_STAT(p,stat,count)
+#define INC_HTC_EP_STAT(p, stat, count)
#endif
typedef struct {
@@ -150,7 +150,7 @@
/* our HTC target state */
typedef struct _HTC_TARGET {
struct ol_softc *hif_dev;
- HTC_ENDPOINT EndPoint[ENDPOINT_MAX];
+ HTC_ENDPOINT endpoint[ENDPOINT_MAX];
cdf_spinlock_t HTCLock;
cdf_spinlock_t HTCRxLock;
cdf_spinlock_t HTCTxLock;