diff --git a/src/attributes.rs b/src/attributes.rs index 980f268..f63ef62 100644 --- a/src/attributes.rs +++ b/src/attributes.rs @@ -615,7 +615,7 @@ impl NlAttrType for BssParam {} /// /// nl80211_he_gi enum from: /// https://github.com/torvalds/linux/blob/master/include/uapi/linux/nl80211.h -#[neli_enum(serialized_type = "u16")] +#[neli_enum(serialized_type = "u8")] pub(crate) enum HeGuardInterval { /// 0.8 usec Usec0_8 = 0, @@ -625,8 +625,6 @@ pub(crate) enum HeGuardInterval { Usec3_2 = 2, } -impl NlAttrType for HeGuardInterval {} - /// Nl80211 HE RU allocation values. /// /// These attribute types are used with `RateInfo.HeRuAlloc`.