ieee80211: Fix the handling of the ISTA Availability bit map.

Forgot to multiply by 8. So we get garbage displayed once the number of
bits is more than 15.

Change-Id: I069b9a9f47e3fa15ad9ae404a70555561fb496ba
This commit is contained in:
Richard Sharpe 2021-04-27 12:32:48 -07:00 committed by Wireshark GitLab Utility
parent cd0950adeb
commit 855662f8dc
1 changed files with 1 additions and 1 deletions

View File

@ -23379,7 +23379,7 @@ dissect_ista_availability_window(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tr
bits = tvb_get_guint8(tvb, offset);
for (j = 0; j < 8; j++) {
avail_string[(i - 1) + j] = (bits & 0x01) ? '1' : '0';
avail_string[(i - 1) * 8 + j] = (bits & 0x01) ? '1' : '0';
bits = bits >> 1;
}