Browse Source

qcacld-3.0: Fix multi queue NAPI build errors

Fix build errors on the platform where multi queue NAPI is
not supported.

Change-Id: Id9916cff11f9337f279f9aed6dfe35e7a6beb1ed
CRs-Fixed: 1065872
Manjunathappa Prakash 8 years ago
parent
commit
169361e309
1 changed files with 3 additions and 2 deletions
  1. 3 2
      core/hdd/inc/wlan_hdd_napi.h

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

@@ -66,8 +66,9 @@ int hdd_napi_apply_throughput_policy(struct hdd_context_s *hddctx,
 				     uint64_t              tx_packets,
 				     uint64_t              rx_packets);
 #else /* FEATURE_NAPI and NOT HELIUM */
-static inline int hdd_napi_apply_throughput_policy(struct hdd_context_s *,
-						   uint64_t, uint64_t)
+static inline int hdd_napi_apply_throughput_policy(struct hdd_context_s *hddctx,
+						   uint64_t tx_packets,
+						   uint64_t rx_packets)
 {
 	return 0;
 }