summaryrefslogtreecommitdiff
path: root/trigcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-05-09 10:51:01 -0700
committerGuy Harris <guy@alum.mit.edu>2017-05-09 17:51:59 +0000
commit09209056ce0fd4ef0a4f5ac1ccc2fa1b12bba49c (patch)
tree172c337e12796bd56dfbd960865d81dcec9c3a9d /trigcap.c
parent2d44f7f3035fd6b44b413d2f2a741686d8c190f3 (diff)
downloadwireshark-09209056ce0fd4ef0a4f5ac1ccc2fa1b12bba49c.tar.gz
Set nss and rate_mcs_index in more arms of the Series II PLCP switch.
For HT mixed, set it the same way it's set for HT greenfield. For pre-HT, set it to 0. Also, for the "unknown" case, set rate_mcs_index to 0. This should obviate the need to initialize either of those variables, don't initialize them, so that failing to set them in an arm of the switch statement shows up as an error if the compiler's dataflow analysis actually bothers to check this. Change-Id: I92703770dd5000a579b53609fb93a2085fd9fca3 Reviewed-on: https://code.wireshark.org/review/21573 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'trigcap.c')
0 files changed, 0 insertions, 0 deletions