diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2025-01-13 03:14:21 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2025-01-14 00:11:18 +0000 |
commit | f167ba73574a3e1757dd95265aa0211cb16c365e (patch) | |
tree | b190c9d58408166c73dbbb03755d246d961acd62 | |
parent | 6ed3486980c95bfa2cbc0b19739e93e8c0df9f67 (diff) |
rtwn: fix RTWN_RIDX_VHT_MCS() macro
Add parenthesis as appropriate. Oops!
-rw-r--r-- | sys/dev/rtwn/if_rtwn_ridx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/rtwn/if_rtwn_ridx.h b/sys/dev/rtwn/if_rtwn_ridx.h index 0a1ea35303f1..616ba8d6d724 100644 --- a/sys/dev/rtwn/if_rtwn_ridx.h +++ b/sys/dev/rtwn/if_rtwn_ridx.h @@ -53,7 +53,7 @@ * goes from 44 -> 83. */ #define RTWN_RIDX_VHT_MCS_SHIFT 44 -#define RTWN_RIDX_VHT_MCS(s, i) (RTWN_RIDX_VHT_MCS_SHIFT + ((10*s) + i)) +#define RTWN_RIDX_VHT_MCS(s, i) (RTWN_RIDX_VHT_MCS_SHIFT + ((10*(s)) + (i))) /* * The total amount of rate indexes, CCK, OFDM, HT MCS0..31, |