summaryrefslogtreecommitdiff
path: root/wiretap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-05-03 19:50:11 -0700
committerGuy Harris <guy@alum.mit.edu>2017-05-04 02:50:56 +0000
commit7703d45803c487062209f70ae19f28e1d4327310 (patch)
treeebdbc3d852a947fd46752268f6921cb817ea406f /wiretap
parent04e5d8d715890601b66ea69898e0e60cc928d3aa (diff)
downloadwireshark-7703d45803c487062209f70ae19f28e1d4327310.tar.gz
Use a #define for the PLCP type.
That makes it clearer that the Series I hardware doesn't do HT or VHT. Change-Id: Ibeccfcba997555bef06098828f01951dc32a6d2c Reviewed-on: https://code.wireshark.org/review/21486 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/vwr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/vwr.c b/wiretap/vwr.c
index 2d72646d28..9661e48886 100644
--- a/wiretap/vwr.c
+++ b/wiretap/vwr.c
@@ -1156,7 +1156,7 @@ static gboolean vwr_read_s1_W_rec(vwr_t *vwr, struct wtap_pkthdr *phdr,
/* Decode OFDM or CCK PLCP header and determine rate and short preamble flag. */
/* The SIGNAL byte is always the first byte of the PLCP header in the frame. */
- plcp_type = 0;
+ plcp_type = vVW510021_W_PLCP_LEGACY;
nss = 1;
if (m_type == vwr->MT_OFDM)
mcs_index = get_ofdm_rate(rec);