eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 6b94ab38897e4ffb556ad418c48ec9998b1c5469
parent 6bedcb4622fbec92dc74b03ba1c2d8f78a260792
Author: James Prestwood <prestwoj@gmail.com>
Date:   Fri, 15 Mar 2024 04:18:21 -0700

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")

Diffstat:
Mmonitor/nlmon.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/monitor/nlmon.c b/monitor/nlmon.c @@ -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)",