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 /wiretap | |
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 'wiretap')
-rw-r--r-- | wiretap/commview.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wiretap/commview.c b/wiretap/commview.c index 3d773669a2..c14f268798 100644 --- a/wiretap/commview.c +++ b/wiretap/commview.c @@ -177,6 +177,7 @@ commview_read_packet(FILE_T fh, struct wtap_pkthdr *phdr, Buffer *buf, case BAND_11B: phdr->pseudo_header.ieee_802_11.phy = PHDR_802_11_PHY_11B; + phdr->pseudo_header.ieee_802_11.phy_info.info_11b.presence_flags = 0; frequency = ieee80211_chan_to_mhz(cv_hdr.channel, TRUE); break; |