Ver código fonte

qcacmn: Fix compilation errors

Add a new compile time flag ENHANCED_STATS so that
the function under that flag gets declared

Change-Id: I38c2e7c36d5aaad315597bad011359ce7f947069
CRs-fixed: 1066302
Nandha Kishore Easwaran 8 anos atrás
pai
commit
2bfa221519
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      dp/inc/cdp_txrx_host_stats.h

+ 1 - 1
dp/inc/cdp_txrx_host_stats.h

@@ -151,7 +151,7 @@ ol_reset_lro_stats(ol_txrx_vdev_handle vdev);
  * @return - pointer to received stat payload
  */
 
-#if ATH_BAND_STEERING
+#if ATH_BAND_STEERING || ENHANCED_STATS
 uint32_t *ol_txrx_get_en_stats_base(ol_txrx_pdev_handle txrx_pdev, uint32_t *msg_word,
     uint32_t msg_len, enum htt_t2h_en_stats_type *type,  enum htt_t2h_en_stats_status *status);
 #endif