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/MAC/inc/sirMacPropExts.h b/CORE/MAC/inc/sirMacPropExts.h
index dab6064..33be90a 100644
--- a/CORE/MAC/inc/sirMacPropExts.h
+++ b/CORE/MAC/inc/sirMacPropExts.h
@@ -99,10 +99,10 @@
// macro to set/get a capability bit, bitname is one of HCF/11EQOS/etc...
#define PROP_CAPABILITY_SET(bitname, value) \
- (value) = (value) | ((tANI_U16)(1 << SIR_MAC_PROP_CAPABILITY_ ## bitname))
+ ((value) = (value) | ((tANI_U16)(1 << SIR_MAC_PROP_CAPABILITY_ ## bitname)))
#define PROP_CAPABILITY_RESET(bitname, value) \
- (value) = (value) & ~((tANI_U16)(1 << SIR_MAC_PROP_CAPABILITY_ ## bitname))
+ ((value) = (value) & ~((tANI_U16)(1 << SIR_MAC_PROP_CAPABILITY_ ## bitname)))
#define PROP_CAPABILITY_GET(bitname, value) \
(((value) >> SIR_MAC_PROP_CAPABILITY_ ## bitname) & 1)