packet-ieee80211.c - fix bug in vht_compressed_beamforming_report

Change-Id: I667c00a8093896984dbf75fa20bec86304706886
Reviewed-on: https://code.wireshark.org/review/18101
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
shuai xiao 2016-10-06 14:03:05 -07:00 committed by Michael Mann
parent 5c55c42eaf
commit 18883a7154
1 changed files with 1 additions and 1 deletions

View File

@ -9008,10 +9008,10 @@ add_ff_vht_compressed_beamforming_report(proto_tree *tree, tvbuff_t *tvb, packet
proto_tree_add_bitmask(tree, tvb, offset, hf_ieee80211_ff_vht_mimo_cntrl,
ett_ff_vhtmimo_cntrl, hf_ieee80211_ff_vht_mimo_cntrl_fields, ENC_LITTLE_ENDIAN);
offset += 3;
/* Extract values for beamforming use */
vht_mimo = tvb_get_letoh24(tvb, offset);
offset += 3;
nc = (vht_mimo & 0x7) + 1;
nr = ((vht_mimo & 0x38) >> 3) + 1;
chan_width = (vht_mimo & 0xC0) >> 6;