diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2025-08-12 03:53:32 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2025-08-12 03:53:32 +0000 |
commit | e3c5f7ec50c8a015667c99eb57107404afce069a (patch) | |
tree | e8fb00f12532b66f6d2c74835ab51bbc5e9e0eba /util.c | |
parent | 04bac331467be8cccd04c6f17559cf8c1ec69c57 (diff) |
rtw88: update Realtek's rtw88 drivervendor/Linux/rtw88/torvalds-v6.16vendor/Linux/rtw88
This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
038d61fd642278bab63ee8ef722c50d10ab01e8f ( tag: v6.16 ).
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -101,7 +101,8 @@ void rtw_desc_to_mcsrate(u16 rate, u8 *mcs, u8 *nss) *nss = 4; *mcs = rate - DESC_RATEVHT4SS_MCS0; } else if (rate >= DESC_RATEMCS0 && - rate <= DESC_RATEMCS15) { + rate <= DESC_RATEMCS31) { + *nss = 0; *mcs = rate - DESC_RATEMCS0; } } |