diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-07-07 09:44:28 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-07-07 16:44:53 +0000 |
commit | 813a1fb5be8d1c5b2880efcf41f844a3f26b5b41 (patch) | |
tree | 23e10909b88034b30dfdd83f6e9f89fa939f9959 /epan/dissectors/packet-ixveriwave.c | |
parent | 5b76ef3965a9887cfd1583c40d78107417877cd1 (diff) |
Initialize the 11b presence flag to 0.
There were some cases where it wasn't getting initialized when we set
the PHY to 11b, in addition to the one Pascal found.
Change-Id: I127737cd29dc53c96342364de5cb722b135f23f3
Reviewed-on: https://code.wireshark.org/review/9540
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-ixveriwave.c')
-rw-r--r-- | epan/dissectors/packet-ixveriwave.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ixveriwave.c b/epan/dissectors/packet-ixveriwave.c index 49d9452014..406ba84728 100644 --- a/epan/dissectors/packet-ixveriwave.c +++ b/epan/dissectors/packet-ixveriwave.c @@ -772,6 +772,7 @@ wlantap_dissect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_tree */ if (vw_chanflags & CHAN_CCK) { phdr.phy = PHDR_802_11_PHY_11B; + phdr.phy_info.info_11b.presence_flags = 0; } phdr.presence_flags |= PHDR_802_11_HAS_DATA_RATE; phdr.data_rate = tvb_get_letohs(tvb, offset-5) / 5; |