Parenthesize to squelch a compiler warning (a warning that suggests that

the parentheses are needed - not that I can remember which of && and ||
have higher precedence, anyway, which is why I like parenthesizing
expressions such as this...).

svn path=/trunk/; revision=21631
This commit is contained in:
Guy Harris 2007-05-01 01:56:58 +00:00
parent 78b475fc0c
commit 0bbac7a3e2

View file

@ -5440,8 +5440,8 @@ dissect_ieee80211_common (tvbuff_t * tvb, packet_info * pinfo,
"Unrecognized (Reserved frame)"));
if (is_ht && IS_STRICTLY_ORDERED(fcf) &&
(FCF_FRAME_TYPE(fcf) == MGT_FRAME) || (FCF_FRAME_TYPE(fcf) == DATA_FRAME &&
DATA_FRAME_IS_QOS(frame_type_subtype))) {
((FCF_FRAME_TYPE(fcf) == MGT_FRAME) || (FCF_FRAME_TYPE(fcf) == DATA_FRAME &&
DATA_FRAME_IS_QOS(frame_type_subtype)))) {
htc_len = 4;
}
flags = FCF_FLAGS (fcf);