3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

monitor: Fix wrong bitmask for VHT capabilities

The bitmask was erroneously allowing bits 16 and 17 to be examined, but
these bits belong to the Number of Sounding Dimensions field.
This commit is contained in:
Denis Kenzior 2021-05-25 17:37:38 -05:00
parent a20a61dca4
commit 1cde7c9f3e

View File

@ -1624,7 +1624,7 @@ static void print_ie_vht_capabilities(unsigned int level,
[29] = "TX Antenna Pattern Consistency",
[30 ... 31] = "Extended NSS BW Support",
};
uint8_t info_mask[] = { 0xf0, 0x18, 0x7b, 0x30 };
uint8_t info_mask[] = { 0xf0, 0x18, 0x78, 0x30 };
print_attr(level, "%s: len %u", label, size);