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:
parent
78b475fc0c
commit
0bbac7a3e2
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue