Procházet zdrojové kódy

qcacld-3.0: Fix compilation error on disabling FEATURE_NAPI

When FEATURE_NAPI is disabled there is a compilation error. Fix the
compilation error by adding appropriate function defintion.

Change-Id: If77ad5d8a5a6edc189159d0e9d6d92edd2856052
CRs-Fixed: 1072777
Krishna Kumaar Natarajan před 8 roky
rodič
revize
ea8f5e0539
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      core/hdd/inc/wlan_hdd_napi.h

+ 2 - 2
core/hdd/inc/wlan_hdd_napi.h

@@ -93,8 +93,8 @@ static inline int hdd_napi_event(enum qca_napi_event event, void *data)
 	return 0;
 }
 static inline struct qca_napi_data *hdd_napi_get_all(void) { return NULL; }
-static inline int hdd_napi_apply_throughput_policy(struct hdd_context_s *,
-						   uint64_t, uint64_t)
+static inline int hdd_napi_apply_throughput_policy(void *hdd_ctx,
+				uint64_t tx_packets, uint64_t rx_packets)
 {
 	return 0;
 }