wlan: Fix for "Macros with complex values'
This patch fixes the following problem reported by checkpatch:
Macros with complex values should be enclosed in parenthesis
Change-Id: Ie293631d347143808561c1745ddabbec58edc007
CR-Fixed: NA
diff --git a/CORE/WDI/CP/inc/wlan_qct_wdi.h b/CORE/WDI/CP/inc/wlan_qct_wdi.h
index 3f6c2e0..d456d05 100644
--- a/CORE/WDI/CP/inc/wlan_qct_wdi.h
+++ b/CORE/WDI/CP/inc/wlan_qct_wdi.h
@@ -115,7 +115,7 @@
#define FRAGMENT_SIZE 3072
/* Macro to find the total number fragments of the NV Image*/
-#define TOTALFRAGMENTS(x) ((x%FRAGMENT_SIZE)== 0) ? (x/FRAGMENT_SIZE):((x/FRAGMENT_SIZE)+1)
+#define TOTALFRAGMENTS(x) (((x % FRAGMENT_SIZE) == 0) ? (x / FRAGMENT_SIZE):((x / FRAGMENT_SIZE) + 1))
/* Beacon Filter Length*/
#define WDI_BEACON_FILTER_LEN 70