URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a8ff1335f99e91569ad8eaf497bc565f980dd8e4
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
a8ff133 by Guy Harris (guy@xxxxxxxxxxxx):
Extract bits by shifting, not using exponentiation.
That makes it much clearer what's being done here; it matches what the
802.11ac spec actually says (we have an array of bits and an array of
2-bit items).
Clean up indentation while we're at it.
Change-Id: I8a4640662c54d6a2621990df778fd2d2c2695b78
Reviewed-on: https://code.wireshark.org/review/25914
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from dc6b9df Define macros to calculate (2^N)^M, and use them in more places.
adds a8ff133 Extract bits by shifting, not using exponentiation.
Summary of changes:
epan/dissectors/packet-ieee80211.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)