summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8192u/ieee80211
diff options
context:
space:
mode:
authorAastha Gupta <aastha.gupta4104@gmail.com>2017-09-16 16:30:46 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-09-18 12:07:47 +0200
commit2de9311b9669b0e078e8979e19370eef21d3c579 (patch)
tree7a825ad1af1399f40ccbcb350b78cdd272fa79eb /drivers/staging/rtl8192u/ieee80211
parent91c50f0b3d4a42a2393681cf7c096709b416eecb (diff)
staging: rtl8192u: remove space after '('
ERROR: space prohibited after the open parenthesis '(' Signed-off-by: Aastha Gupta <aastha.gupta4104@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/ieee80211')
-rw-r--r--drivers/staging/rtl8192u/ieee80211/ieee80211.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211.h b/drivers/staging/rtl8192u/ieee80211/ieee80211.h
index 654c0f632823..3f040ccd24b0 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211.h
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211.h
@@ -412,7 +412,7 @@ typedef struct ieee_param {
#define IEEE80211_QCTL_TID 0x000F
#define FC_QOS_BIT BIT(7)
-#define IsDataFrame(pdu) ( ((pdu[0] & 0x0C) == 0x08) ? true : false )
+#define IsDataFrame(pdu) (((pdu[0] & 0x0C) == 0x08) ? true : false )
#define IsLegacyDataFrame(pdu) (IsDataFrame(pdu) && (!(pdu[0] & FC_QOS_BIT)) )
//added by wb. Is this right?
#define IsQoSDataFrame(pframe) ((*(u16 *)pframe & (IEEE80211_STYPE_QOS_DATA | IEEE80211_FTYPE_DATA)) == (IEEE80211_STYPE_QOS_DATA | IEEE80211_FTYPE_DATA))