iwmon: fix incorrect mask printing HE capabilities
PATCH 1/1 iwmon: fix incorrect mask printing HE capabilities
This was changed from too large of a mask (0xff) in an earlier commit but was masking 5 bits instead of 6.
Fixes 121c2c5653 ("monitor: properly mask HE capabilities bitfield")
--- monitor/nlmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
monitor/nlmon.c +1 -1
@@ -1689,7 +1689,7 @@ static void print_ie_he_capabilities(unsigned int level, {const uint8_t *ptr = data;uint8_t width_set =bit_field ((ptr +6 )[0 ],1 ,7 ); -uint8_t mask =0x1f ; +uint8_t mask =0x3f ;const char *he_channel_width_bitfield[] = { [0 ] ="40MHz supported (2.4GHz)" ,
Signature · 1 line
2.34.1
Denis Kenzior
AppliedHi James,
Quoted 8 lines · James Prestwood
This was changed from too large of a mask (
0xff) in an earlier commit but was masking 5 bits instead of 6.Fixes 121c2c5653 ("monitor: properly mask HE capabilities bitfield")--- monitor/nlmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Regards,
-Denis