Explorar o código

qca-wifi: Correcting the Stats decrement logic

Correcting cp stats macro to call decrement api to do
decrement stats operation.

Change-Id: I3202ed20974cadde6dce27e2cf5ba187ec538ce0
Ankit Kumar %!s(int64=4) %!d(string=hai) anos
pai
achega
3976ff66ae
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_utils_api.h

+ 1 - 1
umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_utils_api.h

@@ -40,7 +40,7 @@
 	peer_cp_stats_##field##_dec(struct wlan_objmgr_peer *_peer, \
 				    uint64_t _val) \
 	{ \
-		ucfg_peer_cp_stats_##field##_inc(_peer, _val); \
+		ucfg_peer_cp_stats_##field##_dec(_peer, _val); \
 	} \
 	static inline void \
 	peer_cp_stats_##field##_update(struct wlan_objmgr_peer *_peer, \