qcacld-3.0: Fix semantic issues with IPA counting macros

Checkpatch identified multiple issues with the macros:
HDD_IPA_INCREASE_INTERNAL_DROP_COUNT
HDD_IPA_INCREASE_NET_SEND_COUNT

Fix those issues.

Change-Id: If947d09ec2a13ab599f7a08e572ed2c9cc87c8e8
CRs-Fixed: 2119501
This commit is contained in:
Jeff Johnson 2017-09-30 14:30:53 -07:00 • committed by snandini
commit d5ba8a632e

View file

@ -528,9 +528,9 @@ struct hdd_ipa_priv {
(((_hdd_ctx)->config->IpaConfig & (_mask)) == (_mask))
#define HDD_IPA_INCREASE_INTERNAL_DROP_COUNT(hdd_ipa) \
hdd_ipa->ipa_rx_internel_drop_count++;
(hdd_ipa)->ipa_rx_internel_drop_count++
#define HDD_IPA_INCREASE_NET_SEND_COUNT(hdd_ipa) \
hdd_ipa->ipa_rx_net_send_count++;
(hdd_ipa)->ipa_rx_net_send_count++
#define HDD_BW_GET_DIFF(_x, _y) (unsigned long)((ULONG_MAX - (_y)) + (_x) + 1)
#if defined(QCA_WIFI_3_0) && defined(CONFIG_IPA3)