Explorar o código

qcacmn: Add dummy implementation of CP stats PMO handler

Add dummy implementation of CP stats PMO handler in case
QCA_SUPPORT_CP_STATS is not defined.

Change-Id: Ibe6fe863b0aa31bfda4431887a4f9dae5e74ae69
CRs-Fixed: 2439858
Rajeev Kumar %!s(int64=6) %!d(string=hai) anos
pai
achega
0b1c7569cb
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      umac/cp_stats/dispatcher/inc/wlan_cp_stats_mc_ucfg_api.h

+ 3 - 2
umac/cp_stats/dispatcher/inc/wlan_cp_stats_mc_ucfg_api.h

@@ -214,7 +214,8 @@ QDF_STATUS ucfg_mc_cp_stats_set_rate_flags(struct wlan_objmgr_vdev *vdev,
 void ucfg_mc_cp_stats_register_pmo_handler(void);
 #else
 void static inline ucfg_mc_cp_stats_register_pmo_handler(void) { };
-#endif
-
+#endif /* WLAN_POWER_MANAGEMENT_OFFLOAD */
+#else
+void static inline ucfg_mc_cp_stats_register_pmo_handler(void) { };
 #endif /* QCA_SUPPORT_CP_STATS */
 #endif /* __WLAN_CP_STATS_MC_UCFG_API_H__ */