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:
parent
cd0950adeb
commit
855662f8dc
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue