eiwd

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

commit bdcbccbb9f5889136fde17c4a39bee011a4e28af
parent d46fac6e93703f23f0f11a1ad03ffd58b5304ee9
Author: James Prestwood <prestwoj@gmail.com>
Date:   Tue, 19 Jul 2022 11:55:38 -0700

wiphy: use a 16 bit tag for extended IEs

If an extended IE is needed a uint8_t tag would overflow.

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

diff --git a/src/wiphy.c b/src/wiphy.c @@ -811,7 +811,7 @@ int wiphy_estimate_data_rate(struct wiphy *wiphy, ie_tlv_iter_init(&iter, ies, ies_len); while (ie_tlv_iter_next(&iter)) { - uint8_t tag = ie_tlv_iter_get_tag(&iter); + uint16_t tag = ie_tlv_iter_get_tag(&iter); switch (tag) { case IE_TYPE_SUPPORTED_RATES: